[issue6832] Outputting unicode crushes when printing to file on Linux

Georg Brandl report at bugs.python.org
Thu Sep 3 14:22:09 CEST 2009


Georg Brandl <georg at python.org> added the comment:

When output goes to a terminal, Python can determine its encoding. For a
file, it cannot, therefore it refuses to guess.

Also, many programs behave differently when used with redirection;
namely, all those that use `isatty()` to determine if stdout is a terminal.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6832>
_______________________________________


More information about the Python-bugs-list mailing list