STINNER Victor <victor.stin...@haypocalc.com> added the comment:

issue10780_mbcs_ignore.patch is a safer but more complex fix: use mbcs decoder 
with the ignore error handler. Even if issue10780.patch might raise a 
UnicodeDecodeError, I prefer it because it's shorter, simpler and so easier to 
maintain the code.

----------
Added file: http://bugs.python.org/file20172/issue10780_mbcs_ignore.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10780>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to