[New-bugs-announce] [issue13216] Add cp65001 codec

STINNER Victor report at bugs.python.org
Wed Oct 19 00:44:31 CEST 2011

New submission from STINNER Victor <victor.stinner at haypocalc.com>:

Thanks to #12281, it is now trivial to implement any Windows code page in Python. I don't know if existing code pages (e.g. cp932) should use codecs.code_page_encode/.code_page_decode on Windows, or continue to use the (portable) Python code.

Users want the code page 65001, even if I consider that it is useless to set the ANSI code page to 65001 in a console (see issue #1602), but that's a different story. Attached patch implements this code page.

components: Unicode
files: cp65001.py
messages: 145871
nosy: amaury.forgeotdarc, haypo, loewis
priority: normal
severity: normal
status: open
title: Add cp65001 codec
versions: Python 3.3
Added file: http://bugs.python.org/file23453/cp65001.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list