[issue22746] cgitb html: wrong encoding for utf-8

Serhiy Storchaka report at bugs.python.org
Wed Dec 3 08:50:08 CET 2014


Serhiy Storchaka added the comment:

We can convert cgitb.hook to produce ASCII-compatible output with charrefs in 3.x. But there is a problem with str in 2.7. 8-bit string can contain non-ASCII data and the encoding is not known in general case.

----------

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


More information about the Python-bugs-list mailing list