Message154888
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. |
|
Date |
User |
Action |
Args |
2012-03-04 12:05:49 | loewis | set | recipients:
+ loewis, Redoute |
2012-03-04 12:05:49 | loewis | set | messageid: <1330862749.16.0.748268505751.issue14192@psf.upfronthosting.co.za> |
2012-03-04 12:05:48 | loewis | link | issue14192 messages |
2012-03-04 12:05:48 | loewis | create | |
|