This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: About the encoding of libgcj?
- From: Tom Tromey <tromey at redhat dot com>
- To: bbskill <bbkills at tom dot com>
- Cc: java at gcc dot gnu dot org
- Date: 02 Aug 2006 16:35:46 -0600
- Subject: Re: About the encoding of libgcj?
- References: <448038A1.6080309@tom.com>
- Reply-to: tromey at redhat dot com
>>>>> ">" == bbskill <bbkills@tom.com> writes:
Replying to some old email... got lost on my laptop, sorry about that.
>> As we know, the libbcj library is only for the utf-8 compatible
>> locale . That is to say , it assume all the machine is using utf-8
>> compatible locale. I am wonderring why libgcj doesn't support other
>> locale, such GB2312, probably using the iconv to convert between
>> them.
Just history.
>> So , What I want to say is why libgcj does not provoide a method to
>> implement the convertions between utf-8 and other encoding on the layer
>> between libgcj and OS , probably outside the jvm?
We simply never implemented it. There's a PR:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9463
Note that in the common case of UTF-8 we probably want to use
something similar to the existing code, as it is likely to be more
efficient.
Tom