xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Luca Passani <passani AT eunet.no>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] confused about charset/encoding
- Date: Sun, 29 May 2005 19:47:28 +0200
I want to have my XML visualized with a given encoding:
this.toPrettyXML(doc,encoding);
Serializer serializer = new Serializer(out, encoding);
what I am seeing is that no matter what the encoding string is (UTF-8,GB18030, windows-1252),
the XML declaration always looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
I am no big encoding expert, but shouldn't the charset be the same?
Thanks
Luca
-
[XOM-interest] confused about charset/encoding,
Luca Passani, 05/29/2005
- Re: [XOM-interest] confused about charset/encoding, Luca Passani, 05/29/2005
Archive powered by MHonArc 2.6.24.