[Israel.pm] Perl and Unicode file names

Peter Gordon peter at pg-consultants.com
Thu Feb 24 03:11:45 PST 2005


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 DIR
returns accented characters, but Perl still returns question marks. I
have also set "use utf8", but that didn't help either.

So the problem I have is how to proceed. Should I give up with Perl and
use Java or C? Any suggestions gratefully received.

Regards,

Peter
-- 
Peter Gordon
Phone: +972 544 438029
Email: peter at pg-consultants.com
Web: www.pg-consultants.com




More information about the Perl mailing list