xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: UTF-8 output invalid from org.apache.xml.serialize.XMLSerializer
Date Sat, 06 Dec 2003 17:24:56 GMT
Jim Cobban wrote:
>      serializer = new XMLSerializer (
>     new FileWriter(fileName),

This FileWriter will write characters to the file according
to the default platform encoding (most likely ISO-8859-1).
The serializer doesn't even get a chance to decide about
the encoding. You should supply a FileOutputStream to the


To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message