Re: [xml-dev] Genx

From
Karl Waclawek <>
To
David Tolpin <>,
Date
2004-01-21T20:12:19Z
ID
<014701c3e05a$e019ede0$9e539696@citkwaclaww2k>
Thread
Re: [xml-dev] Genx
----- Original Message ----- 
From: "David Tolpin" <>
To: <>
> > How often is UTF-32 actually in use? I would have thought
> > that UTF-16 and UTF-8 are the dominant encodings?
> 
> Tim has a good article at ongoing. 
> 
> http://www.tbray.org/ongoing/When/200x/2003/04/26/UTF

Very well written.
 
> I think that choice of utf32 and utf8 is good; utf16 is a disaster,
> unless it is ucs2.

Technically yes, but by omitting UTf-16 you are excluding most of the world
(Java, C#/.NET, Windows). UCS-2 doesn't cover all Unicode code points, but it
could be that Windows/Java limits itself to UCS-2 rather than using
full UTF-16. I have never needed to use UTF-32, so who actually uses it?


Karl