homepage

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 r.david.murray
Recipients Arfrever, ezio.melotti, lemburg, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2014年09月23日.15:06:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411484817.56.0.935915060414.issue18814@psf.upfronthosting.co.za>
In-reply-to
Content
And indeed my use case for this has instances of both cases: originally decoded using ASCII and the non-ascii bytes must end up as replaced characters, and originally decoded using utf-8.
I'm also not sure that it is worth adding this. If you know what you are doing the solution is obvious, and if you don't know what you are doing you shouldn't be using surrogateescape in the first place :)
Now, if there were or there is intended to be a more efficient C level implementation, that answer might be different.
History
Date User Action Args
2014年09月23日 15:06:57r.david.murraysetrecipients: + r.david.murray, lemburg, ncoghlan, pitrou, vstinner, ezio.melotti, Arfrever, serhiy.storchaka
2014年09月23日 15:06:57r.david.murraysetmessageid: <1411484817.56.0.935915060414.issue18814@psf.upfronthosting.co.za>
2014年09月23日 15:06:57r.david.murraylinkissue18814 messages
2014年09月23日 15:06:57r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /