[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using UTF-8 console on Linux
Simos Xenitellis wrote:
> Στις 31-07-2007, ημέρα Τρι, και ώρα 17:56 +0200, ο/η Egmont Koblinger
> έγραψε:
>
>> On Tue, Jul 31, 2007 at 04:36:44PM +0100, Rui Santos wrote:
>>
>>
>>> In my "quest", I'd like to use UTF-8 in all consoles. I almost did
>>> it, except for a little detail: I cannot use any kind of accents with
>>> any of my letters. Here is what I do
>>>
>>> loadkeys /usr/share/kbd/compose.winkeys
>>> loadkeys /usr/share/kbd/compose.latin1.add
>>>
>> Composing characters don't work with utf-8, but a patch exsts (not tested by
>> me). It was mentioned last week on kernel list:
>> http://marc.info/?l=linux-kernel&m=118531371404736&w=2
>>
>
> There has been a discussion on this at this list, a summary of which is
> at
> http://www.mail-archive.com/linux-utf8@xxxxxxxxxxxx/msg04900.html
>
Thank you for the link
> Hope this helps,
> Simos
>
Rui
>
>> Standalone accents should work, but you may need to pass a -u/--unicode
>> option to loadkeys. (Not mentioned in loadkeys manual, but printed by
>> loadkeys --help.)
>>
>> I'm using something like this; this should work work you too:
>> echo -en '\033%G'
>> kbd_mode -u
>> setfont lat2-16 -m 8859-2
>> loadkeys -u hu
>> If you press the keys, some accented vowels should appear.
>>
>>
>> Furthermore, brand new in 2.6.22: there's a file called default_utf8 (or
>> something similar) somewhere under /proc, echo 1 to it and your newly
>> allocated or reseted terminals will automatically be UTF-8 so you won't need
>> that \033%G.
>>
>>
>>
>> bye,
>>
>> Egmont
>>
>> --
>> Linux-UTF8: i18n of Linux on all levels
>> Archive: http://mail.nl.linux.org/linux-utf8/
>>
>>
>
>
> --
> Linux-UTF8: i18n of Linux on all levels
> Archive: http://mail.nl.linux.org/linux-utf8/
>
>
>
>
>
--
Cumprimentos
*Rui Santos*
Dep. Testes
*GrupoPIE Portugal, S.A.*
Tel: +351 252 290 600
Fax: +351 252 290 601
Email: rsantos@xxxxxxxxxxxx <mailto:rsantos@xxxxxxxxxxxx>
Web: www.grupopie.com <http://www.grupopie.com/>
/WinREST /EVERYWHERE
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/