Serhiy Storchaka added the comment:

Here is a patch, which adds support for cp65001 and fixes test_cp1252. Please 
test it on Windows Vista.

Lone surrogates are not illegal in UTF-7 (see RFC 1642), so error handler is 
not called and explicit support of UTF-7 is not needed.

Could you please help with documenting this change in What's new Python 3.5 
document? I don't think this change is worth special mentioning in codecs 
documentation, it is already documented that surrogatepass is supported only 
for utf-8, utf-16* and utf-32*.

----------
Added file: http://bugs.python.org/file35259/surrogatepass_cp_utf8.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13916>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to