[issue18814] Add codecs.convert_surrogateescape to "clean" surrogate escaped strings

Marc-Andre Lemburg report at bugs.python.org
Tue Sep 23 12:39:50 CEST 2014


Marc-Andre Lemburg added the comment:

Don't like the function name :-)

How about codecs.filter_non_utf8_data(), since that's closer
to what the function is really doing and doesn't require
knowledge about what "surrogateescape" is.

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

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


More information about the Python-bugs-list mailing list