Re: Some comments on Xr on Xc

Joaquín Cuenca Abela <[email protected]> 24 Nov 2002 16:19:57 +0100
Newsgroups gmane.comp.xfree86.render
Message-ID <1038151197.1084.9.camel@cuenca>
On Sat, 2002-11-23 at 22:46, [email protected] wrote:
> On 23 Nov, Vadim Plessky wrote:
> > |  The plan is to support only the UTF8 encoding. So, can we drop all of
> > |  the 8/16/32/Utf8 distinctions from Xft?
> > 
> > What about UTF-16?
> > I think it's required to display, say, Chinese glyphs.
> 
> That is a misunderstanding of UTF.  UTF-8 has no problems with either
> the glyphs in the BMP or with the additional glyphs in the extended
> pages. 

And UTF-16 doesn't has any problem with the glyphs in the extended
planes.  UTF-* is just the encoding.

The problem is when you target the character set UCS-2 instead of UCS-4
(for instance, using UTF-16 without surrogates).

UTF-8/16/32 can all access any unicode codepoint.

Cheers,

-- 
Joaquín Cuenca Abela
[email protected]