[issue21331] Reversing an encoding with unicode-escape returns a different result
Serhiy Storchaka
report at bugs.python.org
Wed May 14 13:00:50 CEST 2014
Serhiy Storchaka added the comment:
Sworddragon, try to use content.encode('ascii', 'backslashreplace').decode('unicode-escape').
It is too late to change the unicode-escape encoding.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21331>
_______________________________________
More information about the Python-bugs-list
mailing list