[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does GNU classpath implement char?
From: |
Tom Tromey |
Subject: |
Re: How does GNU classpath implement char? |
Date: |
13 Sep 2005 09:05:02 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Alexander" == Alexander Shopov <address@hidden> writes:
Alexander> I was wondering - how does gnu classpath implement char
Alexander> (the primitive value).
In a technical sense, Classpath doesn't -- it just leaves the
low-level representation of char to the VM.
Alexander> So it seems to me that only BMP characters are
Alexander> representable in char. What should be done (in programming)
Alexander> in order to use characters outside BMP?
AIUI, 1.5 has a lot of library updates to allow for 'int' codepoints
that lie outside the 16 bit range of a java 'char'. For the most part
we have not implemented these APIs yet. They don't look intrinsically
hard, just voluminous...
Tom