[issue12016] Wrong behavior for '\xff\n'.decode('gb2312', 'ignore')

STINNER Victor report at bugs.python.org
Sat May 7 10:40:10 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

So the correct result for b'\xff\n'.decode('gb2312', 'replace') is u'?\n'?

----------
versions: +Python 3.1, Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list