|No such thing as a small change|
Handling accented characters in filenames on Win32by Schlika (Initiate)
|on Apr 15, 2004 at 20:50 UTC||Need Help??|
Schlika has asked for the wisdom of the Perl Monks concerning the following question:
I am struggling with handling long filenames that contain international characters such as accented vowels.
Here is a code example:
If a directory in c:\temp contains an international character, then when I try to use the corresponding entry in @list (such as when doing a "new Win32::Perms"), it fails because it cannot find the path specified (and yes, it DOES exist).
Any suggestions on how I could get Perl to handle those characters correctly?
So far I have tried "use utf8" and several "use encoding" but to no avail.
Any help would be appreciated.