[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a basic question
Followup to: <BADF3C947A1BD54FBA75C70C241B0B9E7846CD@xxxxxxxxxxxxxxxx>
By author: "Maiorana, Jason" <jmaiorana@xxxxxxxxxxx>
In newsgroup: linux.utf8
>
>
>
> >For Unicode characters for which there doesn't exist a historic X11
> >keysym, use by convention 0x0100XXYY, where XXYY is the Unicode value
> of
> >the character. Xterm and many other X11 applications understand that
> >convention.
>
> offhand, does anyone know what convention there is for
> unicode characters beyond 0xFFFF? In the older X API, there isnt
> alot of support for beyond-BMP characters.
>
It seems that 0x01XXXXXX should work just fine, where U+XXXXXX is the
Unicode character. Covers 24 bits, which is more than the 20.087 bits
of (post-UTF-16) Unicode.
-hpa
--
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@xxxxxxxxx>
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/