C
ckyang74
I have many files named with Chinese characters. When I read in
filenames, the Chinese characters become question marks. Here is the
code:
opendir (DIR, "./") || die $!;
foreach (readdir (DIR)) {
print $_,"\n";
}
closedir DIR;
I use Windows XP. The Regional and Language Settings for non-unicode
programs is English. Changing that to Chinese probably can't solve the
problem because I also have filenames with Japanese characters.
Also, I remember filenames in Windows XP are encoded in utf8, is that
correct?
Clint
filenames, the Chinese characters become question marks. Here is the
code:
opendir (DIR, "./") || die $!;
foreach (readdir (DIR)) {
print $_,"\n";
}
closedir DIR;
I use Windows XP. The Regional and Language Settings for non-unicode
programs is English. Changing that to Chinese probably can't solve the
problem because I also have filenames with Japanese characters.
Also, I remember filenames in Windows XP are encoded in utf8, is that
correct?
Clint