Markus Kuhn asks:
> What do I have to do to display received UTF-8 email such as
> the attached test text in a simple 16-bit Unicode font such as
>
> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
>
> (which is now widely available with every XFree86 4.0 installation)?
Well, I do have a similar problem with xedit and XFree86 4.0.1. Ivan
Pascal finished the UTF-8 locale support in XFree86 4.0.1. Now, in a
de_DE.UTF-8 locale
- it can display UTF-8 files,
- German umlauts and Russian letters can be correctly typed and inserted,
- files are read and written in UTF-8 format,
- cut&paste of mixed Roman/Greek/Cyrillic/Chinese/Japanese/Korean
strings from/to GNU Emacs works,
BUT the display is ugly, because it displays each script in a
different font: one for JISX0208, one for KSC5601, etc, and these
different fonts don't fit well together.
I think, until the output routines (xc/lib/X11/om*.c) have been
modified to use Pango, the best you can do is to force the fontset to
use the 9x18-ISO8859-1, 9x18-ISO-8859-5, 9x18-ISO-8859-7, 18x18ja,
18x18ko, etc. fonts that you have generated from the coherent
iso10646-1 fonts.
Bruno
PS: how to repeat:
1. compile and install a glibc 2.2 snapshot
2. compile and install XFree86 4.0.1
3. create a de_DE.UTF-8 locale, using
localedef -c -f UTF-8 -i de_DE /glibc22/lib/locale/de_DE.UTF-8
^^^^^^^^^^^^^^^^^^^^
(full pathname required!)
4. put the line "Xedit*international: true" in your $HOME/.Xdefaults
5. launch xedit.
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/