This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj/9715: Not all required character encodings are supported
- From: Mark Wielaard <mark at klomp dot org>
- To: Jesse Rosenstock <jmr at ugcs dot caltech dot edu>
- Cc: java at gcc dot gnu dot org
- Date: 17 Feb 2003 07:26:05 +0100
- Subject: Re: libgcj/9715: Not all required character encodings are supported
- Organization:
- References: <20030217022848.C5ECF84054@euro.ugcs.caltech.edu>
Hi,
On Mon, 2003-02-17 at 03:28, Jesse Rosenstock wrote:
> I recognize some of these (UTF-16, UTF-16BE, UTF-16LE) from implementing
> java.nio.charset. I think UnicodeBigUnmarked is an alias for UTF-16BE, etc.
> I don't know about ISO8859_15.
Yes, see for how to translate between the old/new names:
http://java.sun.com/j2se/1.4.1/docs/guide/intl/encoding.doc.html
ISO8859_15 is just ISO-8859-15 which is supported by iconv. It just
doesn't seem to know about this particular alias. And ISO-8859-15 is
just ISO-8859-1 with a few characters replaces (for example the euro
sign). See http://www.iana.org/assignments/charset-reg/ISO-8859-15
> Shall I submit a patch for String.getBytes that tries to decode with
> java.nio.CharsetDecoder if the native iconv version fails (or vice
> versa)?
Cool! I see we already have the decoders in gnu.java.nio.charset.
It would be nice if gnu.gcj.convert could use those and vice versa.
Thanks,
Mark