[issue6611] HTMLParser cannot deal with mixture of arbitrary data and character reference

bones7456 report at bugs.python.org
Sat Aug 1 08:11:47 CEST 2009


bones7456 <bones7456 at gmail.com> added the comment:

another fix way:
and these three lines to the head of file:

import sys
reload(sys)
sys.setdefaultencoding('utf8')

----------
nosy: +bones7456

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


More information about the Python-bugs-list mailing list