in reply to MD5 non ascii file name
1. If the naming system under Windows can be assumed as UTF-8?
Windows uses UTF-16LE for most stuff, but I don't know if that applies to file names as well.
2. Am I correct assuming if encoding/decoding is done correctly, the usually Perl package should work for wide-character names
Do you mean using non-ASCII-characters in package names in perl? I don't think that's supported.
Or do you want to access arbitrary file names with perl? That's only partly supported, because most operating systems don't know in which character encodings the file names are stored. If you treat the file names as binary data, it should mostly work, though.
$ctx->addfile(I);
You don't initialize (or even declare) the variable $ctx. That's why it's uninitialized.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MD5 non ascii file name
by Corion (Patriarch) on Aug 19, 2008 at 20:39 UTC | |
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 | |
|
Re^2: MD5 non ascii file name
by benjwlee (Initiate) on Aug 19, 2008 at 21:31 UTC | |
by moritz (Cardinal) on Aug 19, 2008 at 21:39 UTC | |
by benjwlee (Initiate) on Aug 19, 2008 at 21:45 UTC | |
by benjwlee (Initiate) on Aug 19, 2008 at 21:38 UTC | |
|
Re^2: MD5 non ascii file name
by ikegami (Patriarch) on Aug 22, 2008 at 00:46 UTC |