Hello there !
I'm creating a application with xerces, xalan using the Java XML API. I use DOM to create an XML document.
Unfortunately the special German characters as like as "Umlaute" (ä.ö.ü) are not written correctly in the xml document. For example the "ü" character is translated in a stupid unicode value "�" which is not correct. The correct value is for example "ü" or the character value himself So it seems that there is a kind of an overflow?
I create especially an iso-8859-1 encoding output during the serialization of my DOM document.
For this I'm using
the OutputFormat Class and set the encoding to
and after that the XMLSerializer to produce the outputstream
So my question is now, what Do I wrong? Why are my special characters not written correctly in the xml document? Have I to initialize something during my DOM creation ?
Thank you in advance