Newbie question: Unicode hiccup on reading file i just wrote
Darcy
darcy.signups at gmail.com
Tue Jan 31 05:29:22 EST 2006
Fredrik Lundh wrote:
> 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")
thanks a lot guys -- both approaches work a treat.
in particular: diez, thanks for explaining what was going on from
python's perspective
More information about the Python-list
mailing list