This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients amaury.forgeotdarc, loewis, ocean-city, vstinner
Date 2011-06-13.13:59:21
SpamBayes Score 1.76798e-10
Marked as misclassified No
Message-id <>
Using my patch, it is possible create a codec for any code page on demand: register a function checking if the encoding name starts with "cp" and ends with a valid code page number.

Even if it is bad idea to set the OEM code page to 65001, implement a codec for this code page would solve issue #6058 (and help issues #7441 and #10920). See also issue #1602 (Unicode support of the Windows console).

I don't know if the Windows codec should be use, it available, instead of Python builtin codecs for Windows code pages (e.g. "cp1252" encoding).
Date User Action Args
2011-06-13 13:59:22vstinnersetrecipients: + vstinner, loewis, amaury.forgeotdarc, ocean-city
2011-06-13 13:59:22vstinnersetmessageid: <>
2011-06-13 13:59:21vstinnerlinkissue12281 messages
2011-06-13 13:59:21vstinnercreate