[issue13916] disallow the "surrogatepass" handler for non utf-* encodings

Serhiy Storchaka report at bugs.python.org
Fri May 16 14:01:46 CEST 2014


Serhiy Storchaka added the comment:

Here is a patch which tests encoding name with "cp65001" instead of "CP_UTF8". I can't test on Windows and don't know which of two patches are correct.

----------
Added file: http://bugs.python.org/file35262/surrogatepass_cp65001.patch

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


More information about the Python-bugs-list mailing list