[issue11022] locale.setlocale() doesn't change I/O codec, os.environ does

STINNER Victor report at bugs.python.org
Tue Feb 1 01:03:34 CET 2011


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

Attached patch replaces locale.getpreferredencoding() by locale.getpreferredencoding(False) in _io.TextIOWrapper and _pyio.TextIOWrapper.

----------
keywords: +patch
Added file: http://bugs.python.org/file20637/io_dont_set_locale.patch

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


More information about the Python-bugs-list mailing list