pep 277, Unicode filenames & mbcs encoding &c.
Just
just at xs4all.nl
Tue Oct 21 12:11:52 EDT 2003
In article <bn3jfo$df$1 at news4.tilbu1.nb.home.nl>,
"vincent wehren" <vincent at visualtrans.de> wrote:
> | Are there any situations where some other encoding should be used instead
> on
> | Windows? What about other platforms? For instance, does Linux allow
> | non-ascii file names?
>
> You can use "os.path.supports_unicode_filenames" to check...
Actually, you can't, see:
http://python.org/sf/767645
The only two platforms that currently support unicode filenames properly
are Windows NT/XP and MacOSX, and for one of them
os.path.supports_unicode_filenames returns False :(
Just
More information about the Python-list
mailing list