[lxml-dev] Encoding again

Max Ivanov ivanov.maxim at gmail.com
Mon Aug 25 00:21:29 CEST 2008


Hi again!
I'm unable to solve encoding problems myself, so I ask again here,
hope someone have solution.

Is there any way to force lxml  to make element.text and element.tail
to be exactly the same as in original text, without any encoding
manipulation? Or to restore them to original state, i.e. maybe
somewhere inside lxml there is a var which contain original encoding,
so I could do elelemt.text.encode('...').?


More information about the lxml-dev mailing list