Author serhiy.storchaka
Recipients Brian.Merrell, belopolsky, bob.ippolito, ezio.melotti, merrellb, petri.lehtinen, pitrou, rhettinger, serhiy.storchaka, tchrist, vstinner
Date 2013-05-10.19:25:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368213921.29.0.0810587276552.issue11489@psf.upfronthosting.co.za>
In-reply-to
Content
I forgot about this issue and open a new issue17906. There is a patch for it. Simplejson has accepted it in https://github.com/simplejson/simplejson/issues/62.

RFC 4627 does not make exceptions for the range 0xD800-0xDFFF (unescaped = %x20-21 / %x23-5B / %x5D-10FFFF), and the decoder must accept lone surrogates, both escaped and unescaped. Non-BMP characters may be represented as escaped surrogate pair, so escaped surrogate pair may be decoded as non-BMP character, while unescaped surrogate pair shouldn't.
History
Date User Action Args
2013-05-10 19:25:21serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, bob.ippolito, belopolsky, pitrou, vstinner, ezio.melotti, merrellb, Brian.Merrell, petri.lehtinen, tchrist
2013-05-10 19:25:21serhiy.storchakasetmessageid: <1368213921.29.0.0810587276552.issue11489@psf.upfronthosting.co.za>
2013-05-10 19:25:21serhiy.storchakalinkissue11489 messages
2013-05-10 19:25:21serhiy.storchakacreate