Newbie question: Unicode hiccup on reading file i just wrote

Fredrik Lundh fredrik at pythonware.com
Mon Jan 30 17:46:13 EST 2006


Diez B. Roggisch wrote:

> Just don't do any fancy encoding stuff at all, a simple
>
> rrr=xml.dom.minidom.parseString(open("tt.xml").read())
>
> should do.

or

    rrr = xml.dom.minidom.parse("tt.xml")

</F>






More information about the Python-list mailing list