Message94445
With Python 3.1.1, the following batch file seems to be necessary to use
UTF-8 successfully from an XP console:
set PYTHONIOENCODING=UTF-8
cmd /u /k chcp 65001
set PYTHONIOENCODING=
exit
the cmd line seems to be necessary because of Windows having
compatibility issues, but it seems that Python should notice the cp65001
and not need the PYTHONIOENCODING stuff. |
|
Date |
User |
Action |
Args |
2009-10-25 00:06:51 | v+python | set | recipients:
+ v+python, tzot, amaury.forgeotdarc, pitrou, vstinner, christian.heimes, mark, ezio.melotti |
2009-10-25 00:06:50 | v+python | set | messageid: <1256429210.6.0.873324059766.issue1602@psf.upfronthosting.co.za> |
2009-10-25 00:06:49 | v+python | link | issue1602 messages |
2009-10-25 00:06:49 | v+python | create | |
|