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 v+python
Recipients amaury.forgeotdarc, christian.heimes, ezio.melotti, mark, pitrou, tzot, v+python, vstinner
Date 2009-10-25.00:06:48
SpamBayes Score 3.884945e-05
Marked as misclassified No
Message-id <1256429210.6.0.873324059766.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-10-25 00:06:51v+pythonsetrecipients: + v+python, tzot, amaury.forgeotdarc, pitrou, vstinner, christian.heimes, mark, ezio.melotti
2009-10-25 00:06:50v+pythonsetmessageid: <1256429210.6.0.873324059766.issue1602@psf.upfronthosting.co.za>
2009-10-25 00:06:49v+pythonlinkissue1602 messages
2009-10-25 00:06:49v+pythoncreate