[issue8242] Support surrogates in import ; install Python in a non-ASCII directory

STINNER Victor report at bugs.python.org
Sat Mar 27 02:51:07 CET 2010


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

> Initialize Py_FileSystemDefaultEncoding earlier in Py_InitializeEx(),
> because its value is required to encode unicode using surrogates to bytes

Oh, it doesn't work: get_codeset() returns NULL, because the codec register is empty when get_codeset() is called (with my patch).

----------

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


More information about the Python-bugs-list mailing list