Bug 59209 - Wrong keyboard mapping or font when switching to cyrillic keyboard
Summary: Wrong keyboard mapping or font when switching to cyrillic keyboard
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-01 16:19 UTC by David Bo Jensen
Modified: 2003-06-01 19:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Bo Jensen 2003-06-01 16:19:46 UTC
Version:            (using KDE KDE 3.1)
Installed from:    SuSE RPMs
OS:          Linux

I am using a danish localised SuSE 8.2 with KDE 3.1
On the kicker I have added the switch for different languages and added russian to that.
It works perfect for many applications. I can write in danish as well in russian. Howerever for the console I only gets ????? when I type russian, also when unicode for the console is switched on. Further more I have tried some experiments with setfont but I get

linux:/usr/share/kbd/consolefonts # setfont default8x16
putfont: PIO_FONT: Ugyldigt argument

(Invalid argument)

What is wrong? Frankly I am not sure whether it is a KDE issue.
Comment 1 Thiago Macieira 2003-06-01 17:59:19 UTC
It's probably no issue at all. Your konsole must not be in UTF-8 mode, so it won't 
allow you to type characters outside your own local locale. 
 
What is the value of your $LANG when you start konsole? Try setting it to an UTF-8 
locale (like da_DK.UTF-8) in order to see non Latin1 characters.  
Comment 2 David Bo Jensen 2003-06-01 19:02:15 UTC
You are right, but I had troubles finding something about the LANG=da_DK.UTF-8 option. 
Further more I thought that all the unicode stuff now was controlled through dialog boxes and 
menu entries.  
What exactly does the meny entry "Unicode" for the console? 
Comment 3 Thiago Macieira 2003-06-01 19:06:41 UTC
Actually, all of KDE is Unicode. The only exception to that rule is Konsole, because 
it operates an environment that, unlike X, isn't Unicode-aware. So you must 
explicitly tell it that your text-mode applications support UTF-8. That is done by 
setting the default encoding to the language to UTF-8. 
 
If you do not do that, when you paste into Konsole a Unicode codepoint that can't 
be translated into the encoding being used, it'll replace by a ?. There's nothing 
wrong with that and that's the expected behaviour. 
 
I don't know what the Unicode menu entry does.