[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTF-8 curses



On Sun, Oct 24, 1999 at 06:13:34PM +0100, Markus Kuhn wrote:
> Edmund GRIMLEY EVANS wrote on 1999-10-24 14:45 UTC:
> > So it would be useful for me to have a better idea of when and with
> > what probability characters with more than 16/24 bits might be useful
> > in the context of curses. Thanks for any clues.
> 
> I'd summarize the situation as follows:
> 
>  - There will pretty certainly never any UCS characters above 0x10ffff
>    be used, so you should be very comfortable with only reserving
>    21 bits for a UCS character (leaves 11 bits for other attributes)

I would rather advise: go clean, do not use space that is reserved for
character coding. UCS4 is 31 bit. You may encounter private-use planes
that goes beyound the 21 bits. And you may erroneously output
characters that have bits set in the first 11 bits if you use these for
character properties.

Keld
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/