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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, ezio.melotti, lemburg
Date 2010-07-08.11:02:22
SpamBayes Score 0.09447101
Marked as misclassified No
Message-id <1278586943.84.0.984113217925.issue9198@psf.upfronthosting.co.za>
In-reply-to
Content
> A more accurate approach would be to actually try to encode the string
> and escape only the chars that can't be encoded

This is already the case with sys.stderr, it uses the "backslashreplace" error handler. Do you suggest the same for sys.stdout?
History
Date User Action Args
2010-07-08 11:02:24amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, ezio.melotti
2010-07-08 11:02:23amaury.forgeotdarcsetmessageid: <1278586943.84.0.984113217925.issue9198@psf.upfronthosting.co.za>
2010-07-08 11:02:22amaury.forgeotdarclinkissue9198 messages
2010-07-08 11:02:22amaury.forgeotdarccreate