The console in which you're running your code is probably using a font that includes only Latin1 or ISO-8859-1 glyphs.
When you wrote "of course, I can't do anything with the filenames returned (like open them)" were you basing this on the results obtained from testing actual code, or on the assumption that because you were seeing the wrong characters in the console, they must be wrong in the data?
In reply to Re: how to read unicode filename
by converter
in thread how to read unicode filename
by uva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |