[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates
Serhiy Storchaka
report at bugs.python.org
Tue Apr 24 11:54:08 CEST 2012
Serhiy Storchaka <storchaka at gmail.com> added the comment:
> * fix an error in the error handler for utf-16-le. (In, Python3.2 b'\xdc\x80\x00\x41'.decode('utf-16-be', 'ignore') returns "\x00" instead of "A" for some reason)
The patch for issue14579 fixes this in Python 3.2.
The patch for issue14624 fixes this in Python 3.3.
----------
nosy: +storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12892>
_______________________________________
More information about the Python-bugs-list
mailing list