This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ncoghlan, serhiy.storchaka, vstinner
Date 2015-10-08.06:51:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444287088.0.0.588605250096.issue25339@psf.upfronthosting.co.za>
In-reply-to
Content
The error handler of sys.stdout and sys.stdin is set to "surrogateescape" even for non-ASCII encoding.

$ LANG= PYTHONIOENCODING=UTF-8 ./python -c 'import sys; print(sys.stdout.encoding, sys.stdout.errors)'
UTF-8 surrogateescape
History
Date User Action Args
2015-10-08 06:51:28serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, vstinner
2015-10-08 06:51:28serhiy.storchakasetmessageid: <1444287088.0.0.588605250096.issue25339@psf.upfronthosting.co.za>
2015-10-08 06:51:27serhiy.storchakalinkissue25339 messages
2015-10-08 06:51:27serhiy.storchakacreate