[issue9630] Reencode filenames when setting the filesystem encoding

STINNER Victor report at bugs.python.org
Sun Sep 5 21:40:11 CEST 2010

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

> Do we really want to support this kind of configuration?

There is also a problem is the directory name is b'py3k\xe9': at startup (utf-8 encoding), the name is decoded to 'py3k\udce9'. When the locale encoding is set to iso-8859-1: the name should be reencoded to 'py3k\xe9' to avoid the surrogate character.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list