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

Ezio Melotti report at bugs.python.org
Thu Sep 6 12:26:14 CEST 2012


Ezio Melotti added the comment:

Note that there's similar code in  charmap_encoding_error, PyUnicode_EncodeCharmap, PyUnicode_TranslateCharmap, and PyUnicode_EncodeDecimal, however I'm not sure how to reach these paths.

----------
nosy: +lemburg

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


More information about the Python-bugs-list mailing list