Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225807 - keymaps script does not give a hint about proper UTF-8 configuration
Summary: keymaps script does not give a hint about proper UTF-8 configuration
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 22:05 UTC by Łukasz Stelmach
Modified: 2008-06-11 19:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tell about empty DUMPKEYS_CHARSET if using UNICODE (keymaps.diff,936 bytes, patch)
2008-06-10 22:10 UTC, Łukasz Stelmach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Stelmach 2008-06-10 22:05:28 UTC
The /etc/init.d/keymaps should force non-empty DUMPKEYS_CHARSET if UNICODE is set to yes for otherwise ridiculous substitutions occurs. For example Polish (pl2) is dumped with latin-1 names instead of latin-2, hence lstroke becomes threesuperior.

Reproducible: Always

Steps to Reproduce:
1. Set KEYMAP to  pl2 and leave DUMPKEYS_CHARSET empty.
2. Reboot.

Actual Results:  
Latin1 characters appear instead of Latin2 ones.

Expected Results:  
Polish Latin2 characters appear when typed.
Comment 1 Łukasz Stelmach 2008-06-10 22:10:08 UTC
Created attachment 156291 [details, diff]
tell about empty DUMPKEYS_CHARSET if using UNICODE
Comment 2 SpanKY gentoo-dev 2008-06-11 00:32:37 UTC
i think the current configs are properly documented ... we cant check for every invalid scenario under the sun
Comment 3 Roy Marples 2008-06-11 06:42:02 UTC
Whilst for a lot of languages DUMPKEYS_CHARSET is relevant with UNICODE it's also not relevant for others. Hence I think that the current documentation is fine.