[issue18713] Enable surrogateescape on stdin and stdout when appropriate

Serhiy Storchaka report at bugs.python.org
Thu Aug 22 07:47:47 CEST 2013


Serhiy Storchaka added the comment:

The surrogateescape error handler works only with UTF-8.

As a side effect of this change an input from stdin will be incompatible in general with extensions which implicitly encode a string to bytes with UTF-8 (e.g. tkinter, XML parsers, sqlite3, datetime, locale, curses, etc.)

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list