[issue1290] xml.dom.minidom not able to handle utf-8 data

Raghuram Devarakonda report at bugs.python.org
Fri Oct 19 16:56:11 CEST 2007


Raghuram Devarakonda added the comment:

The fact that the problem occurs only from the command line and not when
run from a script indicates that the real issue is in trying to print
the object. Sure enough, if you modify the script to do
repr(mydom.firstChild.childNodes), it gets the same problem. So the
issue may have some thing to do with how the object is constructed in
repr(). I don't have time right now to dig deeper but the parser itself
may not have any encoding/decoding issues (apart of ability to print
these high level objects).

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1290>
__________________________________


More information about the Python-bugs-list mailing list