Re: Perl and unicode file names

2005-02-24 Thread Christian Hansen
Peter Gordon wrote: Hi Guys. I need some help with a project that I have. I have to copy files using Perl to different places and the filenames may be in Hebrew, Chinese, Korean etc. The problem is, that filenames, when using opendir, are returned as question marks. In the DOS box I have set the

Re: Perl and unicode file names

2005-02-24 Thread Christian Hansen
Peter Gordon wrote: Hi Guys. I need some help with a project that I have. I have to copy files using Perl to different places and the filenames may be in Hebrew, Chinese, Korean etc. The problem is, that filenames, when using opendir, are returned as question marks. In the DOS box I have set the

RE: Perl and unicode file names

2005-02-24 Thread Jan Dubois
On Thu, 24 Feb 2005, Ed Batutis wrote: > So the problem I have is how to proceed. Should I give up with > Perl and use Java or C? Any suggestions gratefully received. > > I started a really 'fun' flame war on this topic several months ago, > so I hesitate to say anything more. But, yes

RE: Perl and unicode file names

2005-02-24 Thread Ed Batutis
> >>>So the problem I have is how to proceed. Should I give up with Perl and > >>>use Java or C? Any suggestions gratefully received. > >> I started a really 'fun' flame war on this topic several months ago, so I hesitate to say anything more. But, yes, you should give up on Perl - or run your scr

Re: Perl and unicode file names

2005-02-24 Thread Peter Gordon
I am working on XP. If I leave the active code page as default, when I do dir, I get question marks for the file name. If I change the code page to 862, for example, I get accented Latin characters. However, no matter what I do in Perl, I get real question marks back. I know that because I dumped

Re: Perl and unicode file names

2005-02-24 Thread Guido Flohr
Hi, sorry, my original reply (see below) went to the sender, not to the list. Peter Gordon wrote: I am using ActiveState Perl 5.008006. I am trying on Hebrew filenames at the moment, but the program will need to run on all languages. The language does not matter, it is the charset. Hebrew can be c

Perl and unicode file names

2005-02-24 Thread Peter Gordon
Hi Guys. I need some help with a project that I have. I have to copy files using Perl to different places and the filenames may be in Hebrew, Chinese, Korean etc. The problem is, that filenames, when using opendir, are returned as question marks. In the DOS box I have set the codepage to 862. So