Message145901
> I consider that it is useless to set the ANSI code page to 65001 in a console
I did more tests on the Windows console, focused on output, see:
http://bugs.python.org/issue1602#msg145898
I was wrong, it *is* useful to change the code page to 65001. Even if we have fully Unicode compliant sys.stdout and sys.stderr, setting the code page to CP_UTF8 (65001) does still improve Unicode support in some cases:
- if the output (stdout and/or stderr) is redirected
- if you encode Unicode to the console code page to use directly sys.stdout.buffer and sys.stderr.buffer |
|
Date |
User |
Action |
Args |
2011-10-19 11:58:42 | vstinner | set | recipients:
+ vstinner, loewis, amaury.forgeotdarc |
2011-10-19 11:58:42 | vstinner | set | messageid: <1319025522.47.0.796194637014.issue13216@psf.upfronthosting.co.za> |
2011-10-19 11:58:41 | vstinner | link | issue13216 messages |
2011-10-19 11:58:41 | vstinner | create | |
|