Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55343

Summary: Better UTF support
Product: Gentoo Linux Reporter: Sergey Kuleshov (RETIRED) <svyatogor>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: axxo, tove
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed patch (v0.1)

Description Sergey Kuleshov (RETIRED) gentoo-dev 2004-06-27 10:46:51 UTC
This patch enchances support of UTF-8 locale in our init scripts byt adding to more variables to rc.conf file. 

First of all, now consolefont always sends \033(K to all consoles which implies no-unicode. With this patch it will check for value of UTF8 var in rc.conf and if it is set to true - output \033%G instead.

Second variable - KEYMAP_ENCODING - allow for any keymap layout to be used with UTF locale. The current situation is that is I set my keyboard to wotk in unicode mode I wont be able to use my standart russian keymaps as they were writen for KOI8-R. However it is possible to recode it by doing:

dumpkeys -c koi8-r | loadkeys -u

which is exactly what this patch does, using value for KEYMAP_ENCODING.

Reproducible: Always
Steps to Reproduce:
Comment 1 Sergey Kuleshov (RETIRED) gentoo-dev 2004-06-28 00:12:09 UTC
Created attachment 34320 [details, diff]
Proposed patch (v0.1)

This file will patch /etc/init.d/keymaps /etc/init.d/consolefont and
/etc/init.d/rc.conf
Comment 2 SpanKY gentoo-dev 2004-10-10 01:51:38 UTC

*** This bug has been marked as a duplicate of 32111 ***