Martin v. Löwis <mar...@v.loewis.de> added the comment:

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.

----------
nosy: +loewis
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14192>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to