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 ezio.melotti, serhiy.storchaka, vstinner
Date 2012-11-09.11:09:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352459389.25.0.372260896268.issue16444@psf.upfronthosting.co.za>
In-reply-to
Content
Try b'\xed\xb2\x80' and b'\xed\xb4\x80' for UTF-8 (on Unix and Mac OS X).

b'\xed\xb2\x80' is b'\x80'.decode('utf-8', 'surrogateescape').encode('utf-8', 'surrogatepass').
b'\xed\xb4\x80' is '\udd00'.encode('utf-8', 'surrogatepass') and '\udd00' can't be encoded with surrogateescape.
History
Date User Action Args
2012-11-09 11:09:49serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti
2012-11-09 11:09:49serhiy.storchakasetmessageid: <1352459389.25.0.372260896268.issue16444@psf.upfronthosting.co.za>
2012-11-09 11:09:49serhiy.storchakalinkissue16444 messages
2012-11-09 11:09:49serhiy.storchakacreate