Serhiy Storchaka added the comment:

Codecs are strict by default in Python. Call MultiByteToWideChar() with the 
MB_ERR_INVALID_CHARS flag as Python does. You also could use 
_codecs.code_page_decode().

----------

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

Reply via email to