W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: About Encoding

From: <keshlam@us.ibm.com>
Date: Sun, 30 Jan 2000 10:34:32 -0500
To: Ajune Liu <ajune@graphics.nju.edu.cn>
cc: www-dom@w3.org
Message-ID: <85256876.00558ED1.00@D51MTA03.pok.ibm.com>
As you said, this isn't a DOM question, but a Java question. Internally,
Java strings use UTF-16, so encodings are only an issue when reading data
into Java or writing it out. The Java libraries have some support for this;
see the encoding parameter of InputStreamReader, for example. They may not
support all the encodings you want to use, in which case you'd have to
provide your own conversion code.

The simplest answer from an XML point of view is just to use a
parser/generator package that understands the encoding(s) you want to use.

Joe Kesselman  / IBM Research
Received on Sunday, 30 January 2000 10:34:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC