[XML-SIG] Re: Parsing XML
Fredrik Lundh
fredrik at pythonware.com
Sat Dec 13 09:56:17 EST 2003
zhaoxz at founder.com wrote:
> My XML files have to use encoding 'iso-8859-1',which is different
> from the default encoding 'utf-8'.
>
> When I was using the package from 4DOM(pyxml.souceforge.net)
> to parse my XML files,errors occured. The package for parsing xml
> only supports encoding 'utf-8', right?
if your XML files use ISO-8859-1 encoding, they should contain
an encoding directive in the ?xml header; see
http://www.w3.org/TR/2000/REC-xml-20001006#NT-EncodingDecl
</F>
More information about the XML-SIG
mailing list