What is wrong? The minidom or the XML file?

Erik Max Francis max at alcyone.com
Thu Mar 11 04:24:46 CET 2004


Anthony Liu wrote:

> What do you mean by "where these Chinese characters
> come from"?  I think I got lost.

You said you pasted Chinese characters into the XML document.  That
doesn't have much meaning unless you know what encoding those characters
were in when you pasted them.  They need to be in the same encoding as
the document you're pasting them in, which with XML you can set using
the "encoding" processing instruction.

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
\__/ All the gods are dead except the god of war.
    -- Leroy Eldridge Cleaver



More information about the Python-list mailing list