Chewing international (unicode) filenames on windows?

Neil Hodgson nhodgson at bigpond.net.au
Tue Mar 19 05:13:34 EST 2002


Andrew Markebo:

> Maybe if I new the codepage used by the user, and use that to convert
> the 8bit string to unicode??

   Think about the situation where several people share a directory on a
file server. Each user may use a different code page. A user may change code
pages. File names can even contain letters that are not all available from
one code page. On NT you can create file names from any sequence of Unicode
characters but these names may not be usable when that disk is read from
Windows 9x.

   Neil






More information about the Python-list mailing list