This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: About the encoding of libgcj?


>>>>> ">" == 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]