[kbd] loadkey's unicode option (-u) not working correctly since commit bad17ea03

Michal Soltys soltys at ziu.info
Thu Jun 16 21:35:51 MSK 2016


There seems to be an issue since the following commit:


(the commit directly preceeding this one doesn't compile)

which causes invocations such as 'loadkeys -u' or 'dumpkeys | loadkeys 
-u' to not work correctly in utf8 mode (after for example unicode_start).

The last working (and able to compile easily) commit where loadkeys 
works fine is


For example consider:

export LANG=en_US.utf8
unicode_start LatArCyrHeb-16
loadkeys -u pl

This will produce correct output (e.g. alt+l) on builds up to commit 

Afterwards it will behave as if the keymap wasn't translated to unicode 
and followed charset specification from the keymap file itself. This (in 
this particular case) requries - to behave correctly:

setfont -m 8859-2 LatArCyrHeb-16

Despite full utf8/unicode mode.


I earlier sent similar message w/o subscribing to the mailing list, so 
just disregard it.

More information about the kbd mailing list