STINNER Victor added the comment: Oh, there is a bug in utf8_encoder() (not in my patch!), newpos was not used after calling the error handler. It's now fixed in the new patch.
---------- Added file: http://bugs.python.org/file40646/utf8_encoder_errors-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25267> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com