25 Aug 00:17
Encoding again
From: Max Ivanov <ivanov.maxim <at> gmail.com>
Subject: Encoding again
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-08-24 22:21:29 GMT
Subject: Encoding again
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-08-24 22:21:29 GMT
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('...').?
RSS Feed