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 ncoghlan
Recipients Arfrever, ezio.melotti, lemburg, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2014-09-23.15:46:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411487179.98.0.857019027639.issue18814@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, Serhiy's approach of avoiding the encode/decode dance entirely is an even better idea - replacing the lone surrogates directly with the output of the alternative error handler avoids any need to worry about the original encoding.
History
Date User Action Args
2014-09-23 15:46:20ncoghlansetrecipients: + ncoghlan, lemburg, pitrou, vstinner, ezio.melotti, Arfrever, r.david.murray, serhiy.storchaka
2014-09-23 15:46:19ncoghlansetmessageid: <1411487179.98.0.857019027639.issue18814@psf.upfronthosting.co.za>
2014-09-23 15:46:19ncoghlanlinkissue18814 messages
2014-09-23 15:46:19ncoghlancreate