This is the mail archive of the java-patches@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: GCJ manual changed


On Wed, 30 Jan 2002, Per Bothner wrote:

> Java does not use UTF-8, but something similar.  The differences are
> that '\u0' is encoded using two bytes, and that code points about 2^16
> are encoding by individually encoding each surrogate pairs.  (Java
> does not handle code points above 2^16 well in any case.)

Is there a proper name for this, e.g. UTF-JAVA?  (DUTR#26 defines CESU-8
which encodes surrogate pairs like you describe but doesn't seem to have a
special encoding of '\u0'.)

Where these docs refer to UTF-8, do they mean UTF-8, or this variant?

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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