[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

Marc-Andre Lemburg report at bugs.python.org
Tue Oct 8 10:59:13 CEST 2013


Marc-Andre Lemburg added the comment:

On 08.10.2013 10:46, Antoine Pitrou wrote:
> 
> utf-16 isn't that widely used, so it's probably fine if it becomes a bit slower.

It's the default encoding for Unicode text files and APIs on Windows,
so I'd say it *is* widely used :-)

http://en.wikipedia.org/wiki/UTF-16#Use_in_major_operating_systems_and_environments

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12892>
_______________________________________


More information about the Python-bugs-list mailing list