[issue15866] encode(..., 'xmlcharrefreplace') produces entities for surrogate pairs

Serhiy Storchaka report at bugs.python.org
Mon Mar 11 13:54:58 CET 2013


Serhiy Storchaka added the comment:

Here is a patch which fixes xmlcharrefreplace error handling in other places.

Unfortunately multibyte asian encoders are broken yet. I'll open a separate issue for this.

----------
Added file: http://bugs.python.org/file29378/issue15866_2.patch

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


More information about the Python-bugs-list mailing list