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

Liu DongMiao report at bugs.python.org
Sat Aug 1 18:20:50 CEST 2009


Liu DongMiao <liudongmiao at gmail.com> added the comment:

i think this should not be a bug.

as we dont know the encoding of str, so we cannt deal with str and
unicode together. 

in my example, str is in utf-8, so i need to convert unicode to str in
utf-8.

i will takes bones' suggestion.

----------
status: open -> closed
type: compile error -> behavior

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


More information about the Python-bugs-list mailing list