Is it possible to consume UTF8 XML documents using xml.dom.pulldom?

Simon Willison simon at simonwillison.net
Wed Jul 30 12:17:45 EDT 2008


On Jul 30, 4:59 pm, Simon Willison <si... at simonwillison.net> wrote:
> I just tried it out on Python 2.4.2 on an Ubuntu machine and it worked
> fine! I guess this must be an OS X Python bug. How absolutely
> infuriating.

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.

Thanks for your help,

Simon



More information about the Python-list mailing list