[Mono-list] Re: unicode trouble
Gaute B Strokkenes
Mon, 09 Feb 2004 05:34:38 +0100
On 9 feb 2004, email@example.com wrote:
> Hi Gabor, I think you're confused. Characters in .NET are 16 bits
> BECAUSE they are unicode. 16 bits = 2 bytes = 65536 values.
That statement is itself confused. Unicode is not 16-bit; it is
C# char values are not unicode characters, they're UTF-16 code points.
The MS documentations frequently refers to single char values as
characters, but that's just sloppliness.
Recommended reading: http://www.cl.cam.ac.uk/~mgk25/unicode.html#ucsutf
Gaute Strokkenes http://www.srcf.ucam.org/~gs234/
FOOLED you! Absorb EGO SHATTERING impulse rays, polyester poltroon!!