[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hello world in UTF-8/X11
On Tue, 14 Jan 2003 21:46:38 +0100 (CET)
Bruno Haible <haible@xxxxxxx> wrote:
> Manel de la Rosa writes:
> > I don't need a complex rendering system or anything killer. Simply
> > display a label with a UTF-8 encoded string.
>
> This is a contradiction in itself.
>
> The purpose of UTF-8 is that it can be used for languages from Russian
> over Vietnamese to Indic. This needs a complex rendering engine: for
> Russian you already need fonts in non-ISO-8859-1 encoding; for
> Vietnamese you need to attach multiple accents to a single letter, and
> for Indic (Devanagari etc.) you need vowel reordering. Not to mention
> right-to-left reordering (Hebrew, Arabic, Farsi), the problem of
> choosing the right fonts, and dealing with the subtleties of these
> fonts.
>
>>
> > with a short X11/UTF-8 "Hello World" example, for instance
>
> Can't be done.
>
> Bruno
>
Sorry to insist, but I've seen that the venerable xterm solves the problem with
only one C code file, xutf8.c, that enables it to work properly with the "-u8"
option, so I think it's possible to do it. I simply don't understand that code.
Aside from this, I don't need multiple fonts, I've tried several utf-8 aware
apps with the gnu unifont by Roman Cziborra and work fine. Is not the nicest
I've ever seen, what solves entirely my problems...
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/