James Abbatiello <[email protected]> added the comment:

The --no-diffs option was recently added which looks like a good workaround.

Here's an attempt at a solution.  If sys.stdout has an encoding set then
use that, just as is being done now.  If there is no encoding (implying
"ascii") then use the encoding of the input file.

----------
nosy: +abbeyj
Added file: http://bugs.python.org/file14604/output_encoding.patch

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to