This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: iconv on Solaris
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: iconv on Solaris
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Mon, 24 Sep 2001 08:17:44 -0400 (EDT)
- cc: java at gcc dot gnu dot org
On Mon, 24 Sep 2001, Mark Mitchell wrote:
> Is it a known problem that things like BufferedReader do not
> work on Solaris 2.8?
>
> The problem is that libjava uses iconv on Solaris, converting from
> 646 to UCS-2. Unfortunately, the Solaris iconv for this case seems
> to be broken. Here is an (ugly) test program:
iconv on Solaris has never really worked. On Solaris 7 we must convert
to/from UTF-8 because converters don't exist for arbitrary pairings.
Apparently Solaris 8 iconv supplies the missing converters but breaks
somewhere else.
Jeff