|Problems? Is your data what you think it is?|
Unicode (ä, ö, ü in German) Problem with File::Find under Windows2000by TeddyC (Novice)
|on Sep 02, 2003 at 10:07 UTC||Need Help??|
TeddyC has asked for the wisdom of the Perl Monks concerning the following question:
I 'm new to Perl and not be able to locate my problem exactly. I've searched but can't find the right solution.I hope here is a right place to post.
Env: Win2000(en) +ActivePerl 5.8+ Komodo
The trouble begins with special characters in German. I want to copy a whole directory to another location , a prototype got no problem with direct writing paths of source and destination in program:
1) define $srcdir in perl-program
Then I wrote srcdir & dstdir in config.xml and use
XML:Simple to read and got them in UTF8 format but nothing is copied!
2) define $srcdir in xml
$dstdir in xml
Komodo shows that first $_ in "finddepth" is "d:\perl\source\test\öa" (ö in Hex)
--Is there something wrong in File::Find with utf8 or with utf8 under win2k? --Or it depends on somethings else?
I made some tests but I can't understand the results well.Thanks for your attention!
3) define $srcdir in perl-program
4) define $srcdir in perl-program and test
5).define $srcdir with "ö" in perl-program and use utf8
--What 's the encoding of a Perl- program in Komodo?