Message138246
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:22 | vstinner | set | recipients:
+ vstinner, loewis, amaury.forgeotdarc, ocean-city |
2011-06-13 13:59:22 | vstinner | set | messageid: <1307973562.48.0.749485872329.issue12281@psf.upfronthosting.co.za> |
2011-06-13 13:59:21 | vstinner | link | issue12281 messages |
2011-06-13 13:59:21 | vstinner | create | |
|