[issue4426] UTF7 decoding is far too strict

STINNER Victor report at bugs.python.org
Tue Nov 25 13:38:46 CET 2008


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

Can you write some tests to help fixing this issue? Stupid example (I 
don't know UTF-8 encoding):
>>> all((byte.encode("utf-7") == byte) for byte in '<=>[]@')
>>> all((byte.decode("utf-7") == byte) for byte in '<=>[]@')

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list