-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
>> Subject: Re: Migrating to tomcat 6 gives formatted currency amounts
>> problem
>> 
>> the 'char' data type is /defined/ to be 16-bits wide 
>> (http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.2.1).
>>  Has this changed? When? (And how!?)
> 
> A char is still 16 bits, but you can now have 21-bit code points: 
> http://java.sun.com/javase/6/docs/api/java/lang/Character.html#unicode
> 
> 
> These are manipulated via the int type, rather than char.

Interesting... so, Java is still 16-bit Unicode in its char primitive,
but you can use ints to hold UTF-16 values using 21-bits? Wo, that's
confusing... especially since java.lang.Character only takes a char as a
constructor parameter :(

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjKygAACgkQ9CaO5/Lv0PB5lgCfSaUnFHFx+OaL87mPtCsGcTOd
pkwAn0ob9OTMfrGCXk4udHyKg627Fd2k
=XWif
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to