Solved Problems with cyrillic input when using UTF-8

Hello, guys. My FreeBSD system is 12.1-RELEASE. The question is about vt console. I've used CP1251 encoding before and everything went just fine, but now I need cyrillic in UTF-8. The chars display correctly, the problem is with the input - whether I choose bg.bds or bg.phonetic it shows mix of some garbage with cyrillic symbols not where they are expected to be. I tried russian keymaps, where I didn't see any garbage, but they are of no use to me. I wonder is it possible that these particular keymaps are designed specifically to be used only with the cp1251 encoding, or there's something else that I miss? I tried some perl keymap conversion script that came with the system in /usr/src/tools/tools/vt/keymaps but the output I used from it didn't seem to change anything... I'll appreciate any advices, thanks in advance !
 
Solved. The problem was with KBDFILES.map, used by the perl script convert-keymaps.pl, where bg.phonetic.kbd and bg.bds.kbd were marked as ISO8859-5, while they obviously must be for CP1251, and were converted with wrong parameter
 
Back
Top