[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates
Serhiy Storchaka
report at bugs.python.org
Mon Sep 2 18:56:35 CEST 2013
Serhiy Storchaka added the comment:
Oh, I were blind. Thank you Marc-Andre. Here is corrected patch. Unfortunately it 1.4-1.5 times slower on UTF-16 encoding UCS2 strings than previous wrong patch.
----------
Added file: http://bugs.python.org/file31557/utf_16_32_surrogates_3.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12892>
_______________________________________
More information about the Python-bugs-list
mailing list