[I18n-sig] Passing unicode strings to file system calls
Martin v. Loewis
martin@v.loewis.de
17 Jul 2002 20:27:07 +0200
"M.-A. Lemburg" <mal@lemburg.com> writes:
> Python 2.2 tries to automagically encode Unicode into the
> encoding used by the OS. This only works if Python can figure
> out this encoding. AFAIK, only Windows platforms are supported.
No; it works on Unix as well (if nl_langinfo(CODEPAGE) is supported);
you need to invoke setlocale to activate this support (in particular,
the LC_CTYPE category).
Regards,
Martin