[issue28712] Non-Windows mappings for a couple of Windows code pages

Serhiy Storchaka report at bugs.python.org
Wed Nov 16 12:53:56 EST 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue28712>
_______________________________________


More information about the Python-bugs-list mailing list