Chewing international (unicode) filenames on windows?
Martin v. Loewis
martin at v.loewis.de
Tue Mar 19 04:04:23 EST 2002
Mark Hammond <mhammond at skippinet.com.au> writes:
> > p.s.2 what is the status on win9x? Give it up or ;-)
>
> I *think* it still works when accessing a Unicode aware file system
> (ie, network)
Doesn't even a local FAT32 file system expose file names in CP_ACP? So
"mbcs" should work everywhere.
With PEP 277, you can get Unicode file names if you pass a Unicode
directory to listdir.
Regards,
Martin
More information about the Python-list
mailing list