New submission from STINNER Victor <victor.stin...@haypocalc.com>: utf8 encoder doesn't work in backslashreplace error handler:
>>> "\uDC80".encode("utf8", "backslashreplace") TypeError: error handler should have returned bytes ---------- components: Unicode messages: 100678 nosy: haypo severity: normal status: open title: utf8, backslashreplace and surrogates versions: Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8092> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com