[Zope-xml] Trouble with ParsedXml and ISO-8859-1 char set

Kay-Uwe Graw kugraw at rostock.igd.fhg.de
Thu Feb 14 11:39:35 EST 2002


I have trouble using xml-files which contain data
with special character from Latin-1 (German Umlaute).

I've created a ParsedXML-object (MyParsedXml) which
I use for temporary storage of data from xml-files.
I use this object by uploading an xml-file and puting
it into the ParsedXml-object via
<dtml call "MyParsedXml.parseXml(file)">

Everything works fine as long as I don't use special
German characters from ISO-8859-1 the char. Then I get
an UnicodeError. Although I use the encoding="ISO-8859-1"
attribute in the xml-header.

Is there any other way of putting xml-data in a ParsedXml
object using dtml-calls?

Kay




More information about the Zope-xml mailing list