RE: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-25 Thread Jan Dubois
On Fri, 25 Jun 2004, Nick Ing-Simmons wrote: > Nicholas Clark <[EMAIL PROTECTED]> writes: >> My only thought is should the API be full SVs, or char pointer plus >> utf8/not flag? (possibly as 1 bit in a flags word) > > My gut reaction is that the char * + flag would be easier to shoe-horn > into ex

Re: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-25 Thread Nick Ing-Simmons
Nicholas Clark <[EMAIL PROTECTED]> writes: >On Mon, Jun 21, 2004 at 08:46:07AM -0700, Jan Dubois wrote: > >> I think it is possible, but it requires someone to both do the work and >> to argue for it on P5P. Without this "champion", I don't see it >> happening at all. > >Nor do I. But P5P isn't big

Re: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-22 Thread Jungshik Shin
Jan Dubois wrote: On Mon, 21 Jun 2004, Steve Hay wrote: I must confess that 2 doesn't really bother me since the "9x" type systems are now a thing of the past (XP onwards are all "NT" type systems, even XP Home Edition). While I also wish that Win 9x would just cease to exist, I don't thin

Re: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-22 Thread Nicholas Clark
On Mon, Jun 21, 2004 at 08:46:07AM -0700, Jan Dubois wrote: > I think it is possible, but it requires someone to both do the work and > to argue for it on P5P. Without this "champion", I don't see it > happening at all. Nor do I. But P5P isn't big on arguing for arguing's sake these days. Suggest

RE: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-21 Thread Jan Dubois
On Mon, 21 Jun 2004, Steve Hay wrote: > Jan Dubois wrote: >> You need to call CreateFileW() to open a file with a Unicode name. If >> you want to hack something, then I would suggest to write a little XS >> module that just swaps out the file handle in a PerlIO* structure. >> Look at PerlIOWin32_op

Re: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-21 Thread Steve Hay
Jan Dubois wrote: >>I'm trying to figure out if I can handle Unicode filenames on >>Windows using Perl 5.8.4, and if so, how. >> >> > >[...] > > > >>So my question is: How can I deal with these files? >> >>I've tried using Perl scalars containing UTF-8, UTF-16LE and >>UTF-16BE encodings o

RE: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-21 Thread Jan Dubois
> I'm trying to figure out if I can handle Unicode filenames on > Windows using Perl 5.8.4, and if so, how. [...] > So my question is: How can I deal with these files? > > I've tried using Perl scalars containing UTF-8, UTF-16LE and > UTF-16BE encodings of the filenames, but none of them work

Re: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-20 Thread Steve Hay
Octavian Rasnita wrote: >Read perldoc encode > I have done, but as far as I can see there is no information there about coping with Unicode filenames. Would you care to point out which bit you think is relevant? - Steve Radan Computational Ltd

Re: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-18 Thread Octavian Rasnita
- Original Message - From: "Steve Hay" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 18, 2004 4:08 PM Subject: Re: Unicode filenames on Windows with Perl >= 5.8.2

Re: Unicode filenames on Windows with Perl >= 5.8.2

2004-06-18 Thread Octavian Rasnita
Read perldoc encode T - Original Message - From: "Steve Hay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 18, 2004 11:20 AM Subject: Unicode filenames on Windows with Perl >= 5.8.2 > > Hi, > > I'm trying to figure out if

Unicode filenames on Windows with Perl >= 5.8.2

2004-06-18 Thread Steve Hay
Hi, I'm trying to figure out if I can handle Unicode filenames on Windows using Perl 5.8.4, and if so, how. I've read a couple of other threads on this list about this issue, but as far as I can see no firm conclusion has yet been reached on what might be done with regard to putting back (in a