This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Solaris -vs- iconv
- To: java at gcc dot gnu dot org
- Subject: Re: Solaris -vs- iconv
- From: Mo DeJong <mdejong at cygnus dot com>
- Date: Tue, 3 Apr 2001 09:52:05 -0700 (PDT)
On 3 Apr 2001, Tom Tromey wrote:
> >>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
>
> Bryce> So the JDK, and by extension, javac, have their own character
> Bryce> converters, probibly written in Java, and thus don't need
> Bryce> iconv?
>
> I believe so.
It is better than that, they even invented new names
for encodings. The Sun encoding names do not match
the ones one you would find in the output of `iconv --list`.
> Bryce> What does jikes do?
>
> I don't know. I'm guessing that it uses IBM's C++-based i18n
> toolkit. I forget what that is called.
Jikes uses iconv or icu (the IBM lib) for the -encoding
option. The encoding does not matter since each character
is converted to a wchar_t for internal use.
Mo DeJong
Red Hat Inc