writing Unicode objects to XML

Alessio Pace puccio_13 at yahoo.it
Mon May 5 04:45:43 EDT 2003


Hi, 
the first step of reading from XML (encoded in UTF-8) has been accomplished
through xml.minidom.
I get Unicode strings, and that's all right. But If I want to make Python
modify that source xml file, how should I do? I mean, those Unicode objects
of kind u'n\xe8'  I need that they are stored exactly as before I read
them, so in the UTF-8 would be just nè  which is this final step to do
this? I am getting crazy with all this XML and Unicode.. :-(
Hope someone has an answer..
Thanks.

-- 
bye
Alessio Pace




More information about the Python-list mailing list