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 Marcus.Gröber, ezio.melotti, lovelylain, serhiy.storchaka
Date 2012-10-08.16:07:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349712436.61.0.128882855492.issue15278@psf.upfronthosting.co.za>
In-reply-to
Content
This error happens due to the fact that utf16* decoders do not properly partial decode truncated data. Exception raised if input data truncated on the second surrogate in the surrogate pair. For example codecs.utf_16_le_decode(b'\x00\xd8\x00') should return ('', 0), but raises UnicodeDecodeError.
History
Date User Action Args
2012-10-08 16:07:16serhiy.storchakasetrecipients: + serhiy.storchaka, ezio.melotti, lovelylain, Marcus.Gröber
2012-10-08 16:07:16serhiy.storchakasetmessageid: <1349712436.61.0.128882855492.issue15278@psf.upfronthosting.co.za>
2012-10-08 16:07:16serhiy.storchakalinkissue15278 messages
2012-10-08 16:07:16serhiy.storchakacreate