Python, unicode, Windows32 and NTFS...
Martin v. Loewis
martin at v.loewis.de
Sun Sep 29 23:18:32 CEST 2002
"Werner Merkl" <werner.merkl at fujitsu-siemens.de> writes:
> Python -- at least since version 1.6 -- is supposed to understand
> and handle UNICODE. But my experience is, it doesn't support
> UNICODE for NTFS file names.
That's basically correct. Since Python 2.1, you can use non-ASCII
characters in a Unicode file name as long as they are included in the
"ANSI code page" (aka "mbcs encoding").
If you want to access arbitrary Unicode file names (within the
limitations of the file system), you need the facility described in
which is implemented in
More information about the Python-list