xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] confused about charset/encoding
- From: Luca Passani <passani AT eunet.no>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] confused about charset/encoding
- Date: Sun, 29 May 2005 22:43:21 +0200
oops,...sorry. My fault. I was experimenting with the wrong part of my code...
please disregard msg and apologies for the unnecessary traffic
Luca
Luca Passani wrote:
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?
-
[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.