[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

STINNER Victor report at bugs.python.org
Sat May 8 00:36:03 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Let's try with something: pyunicode_asencodefsdefault.patch adds PyUnicode_EncodeFSDefault() function to uniformize how a unicode is converted to bytes. Fallback to UTF-8 if Py_FileSystemEncoding is not set (I should be ASCII, not UTF-8) and use surrogateescape error handler.

----------
keywords: +patch
Added file: http://bugs.python.org/file17251/pyunicode_encodefsdefault.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8611>
_______________________________________


More information about the Python-bugs-list mailing list