[issue13216] Add cp65001 codec

STINNER Victor report at bugs.python.org
Thu Oct 27 01:44:53 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Lib/encodings/cp65001.py uses a little trick to mark the codec as specific to Windows:
-----------------
if not hasattr(codecs, 'code_page_encode'):
    raise LookupError("cp65001 encoding is only available on Windows")
-----------------

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13216>
_______________________________________


More information about the Python-bugs-list mailing list