[XML-SIG] UnicodeError: ASCII encoding error: ordinal not in
range(128)
Lars Marius Garshol
larsga at garshol.priv.no
Tue Nov 25 08:43:08 EST 2003
* David Gaya
|
| Instead of 'print xmldoc.toxml()' I've tryed
| s = xmldoc.toxml()
| print s.encode('UTF-8')
| But then  is encoded in a single character.
| Does anybody know how can I print (or save) back the modified document
| keeping the  format ?
Why do you want to do that? The document means the same regardless of
which way the character is encoded.
--
Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50 <URL: http://www.garshol.priv.no >
More information about the XML-SIG
mailing list