Serhiy Storchaka added the comment: Making "PYTHONIOENCODING=ascii" to mean "PYTHONIOENCODING=ascii:surrogateescape" is different (and may be more complex) issue. What error handler should use open(name, encoding='ascii')? open(name) in POSIX locale?
This issue is about incorrect working of PYTHONIOENCODING in POSIX locale. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25339> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com