[New-bugs-announce] [issue26260] utf8 decoding inconsistency between P2 and P3
Jim Jin
report at bugs.python.org
Mon Feb 1 11:40:22 EST 2016
New submission from Jim Jin:
PAYLOAD1 = b'\xce\xba\xe1\xbd\xb9\xcf\x83\xce\xbc\xce\xb5'
PAYLOAD2 = b'\xed\xa0\x80'
PAYLOAD3 = b'\x65\x64\x69\x74\x65\x64'
PAYLOAD = PAYLOAD1 + PAYLOAD2 + PAYLOAD3
PAYLOAD.decode('utf8') passes in P2.7.* and fails in P3.4
Thank you for reading.
----------
components: Unicode
messages: 259329
nosy: ezio.melotti, haypo, jinz
priority: normal
severity: normal
status: open
title: utf8 decoding inconsistency between P2 and P3
type: enhancement
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26260>
_______________________________________
More information about the New-bugs-announce
mailing list