Is it possible to consume UTF8 XML documents using xml.dom.pulldom?
paul at boddie.org.uk
Wed Jul 30 18:39:27 CEST 2008
On 30 Jul, 18:17, Simon Willison <si... at simonwillison.net> wrote:
> Some very useful people in #python on Freenode pointed out that my bug
> occurs because I'm trying to display things interactively in the
> console. Saving to a variable instead fixes the problem.
What's strange about that is how the object is represented when
('CHARACTERS', <DOM Text node "Simon\u2019s XM...">)
Here, there's no attempt made to encode \u2019 as an ASCII byte
sequence. Does the OS X version of Python do anything special with
More information about the Python-list