in reply to Re: MD5 non ascii file name
in thread MD5 non ascii file name
Perl assumes Latin1 (for Win32) or "native" (for other) for all filenames. Under Win32, Perl mostly calls the *A APIs, which deal with "ASCII" data. In theory, Perl should move to using the *W APIs so it use UTF-16LE for filenames and all strings passed to the OS, but it doesn't. There is no abstraction layer for handling the encoding(s) returned by readdir and for the encoding(s) passed to open. They are not necessarily compatible with each other and not necessarily compatible with other strings in Perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: MD5 non ascii file name
by ikegami (Patriarch) on Aug 22, 2008 at 00:58 UTC | |
by Corion (Patriarch) on Aug 22, 2008 at 05:31 UTC | |
by ikegami (Patriarch) on Aug 22, 2008 at 06:52 UTC |