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 loewis
Recipients Redoute, loewis
Date 2012-03-04.12:05:48
SpamBayes Score 4.2893407e-05
Marked as misclassified No
Message-id <1330862749.16.0.748268505751.issue14192@psf.upfronthosting.co.za>
In-reply-to
Content
That is impossible to implement. When outputting to a terminal window, the terminal's encoding is queried and used. When the Python script is run on its own, there may not even exist a terminal encoding.

In any case, this issue is resolved in Python 3 (not by setting the encoding to the terminal's encoding, but to the system code page). For 2.7, changing this would be a new feature, so I'm closing this as resolved - please upgrade to Python 3.
History
Date User Action Args
2012-03-04 12:05:49loewissetrecipients: + loewis, Redoute
2012-03-04 12:05:49loewissetmessageid: <1330862749.16.0.748268505751.issue14192@psf.upfronthosting.co.za>
2012-03-04 12:05:48loewislinkissue14192 messages
2012-03-04 12:05:48loewiscreate