Re: [PATCH] Re: Improved console UTF-8 support for the Linuxkernel?
From: Simos Xenitellis
Date: Tue Dec 14 2004 - 22:48:42 EST
Hi All,
I tried the patch of Chris on Fedora Core 2 and here is my take, from
the user's point of view.
The patch works, surprisingly very well.
It can be easily intergrated to the various distributions simply by
modifying the /etc/sysconfig/i18n and /etc/sysconfig/keyboard
configuration files.
The system scripts essentially call the following two commands (assuming
we are already in Unicode mode):
% setfont <font-name> -m <console-screen-map>
% loadkeys <keymap>
For example:
For Spanish:
% setfont latarcyrheb-sun16 -m 8859-1
% loadkeys es
For Finish:
% setfont latarcyrheb-sun16 -m 8859-1
% loadkeys fi
For Greek:
% setfont iso07u-16 -m 8859-7
% loadkeys gr
The character and key maps used are the "old" 8-bit versions. setfonts
loads a Unicode map with the "-u" options instead of "-m". Also, the key
maps for a few languages have been updates (for example, "gr-utf" for
Greek). The new files (very few) cannot be used here. No need to update
them ;-).
I tried a few languages and what follows shows characters produced from
the console with composing. I used "vim" as my editor.
gr: Greek Î Î Î Ï Ï Ï Ï Ï Ï Î Î Î Î Î Î
es: Spanish à à à à à à à à à à Ã
nl: Dutch à à à à à à à à à à Ã
cz: Czech à à Ã
us-ascentos: Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã Ã
cf: french-canadian à à à à Ã
fi: Finish à à à à à à à à à Ã
fr French à à à à à à à à à à Ã
Therefore, from the user's point of view the patch works.
Cheers,
Simos Xenitellis
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/