Comment 6 for bug 1284809

Revision history for this message
Bug Reporter (bugzilla-mail-box) wrote :

> But practicality beats purity here, and it's certainly more
obvious than encoding="str".

Now, I understand.

I tried

>>> lxml.html.tostring(tag, encoding=str)
'<b>абв</b>'
>>>

and it worked well.