Message154888
| 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: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 |
|