[issue9126] errors='replace' does not work at Windows command line
report at bugs.python.org
Thu Jul 1 00:29:15 CEST 2010
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
The problem is not in the reading part, but in the print().
Since the default encoding of your terminal is cp437 and cp437 is not able to encode the "bad character" (U+2019 RIGHT SINGLE QUOTATION MARK), an error is raised.
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
type: -> behavior
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list