[Bug 367801] New: strange non ascii characters in text console after national keyboard loaded
loadkeys sk-qwerty
https://bugzilla.novell.com/show_bug.cgi?id=367801 Summary: strange non ascii characters in text console after national keyboard loaded Product: openSUSE 11.0 Version: Alpha 2plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lmichnovic@novell.com QAContact: qa@suse.de Found By: --- Created an attachment (id=199193) --> (https://bugzilla.novell.com/attachment.cgi?id=199193) saved file with incorect chars When I change the keyboard layout in console (that means init 3) to my region then it writes strange characters on console. When I write +ľščťžýáíé it displays +?????áíé. I saved it to a file but tha charset doesn;t seem to be correct. Attaching file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=367801
User chrubis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c1
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c2
Ladislav Michnovič
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c3
--- Comment #3 from Ladislav Michnovič
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c4
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c5
Ladislav Michnovič
https://bugzilla.novell.com/show_bug.cgi?id=367801
User gregkh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c6
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c7
--- Comment #7 from Ladislav Michnovič
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c8
Ladislav Michnovič
https://bugzilla.novell.com/show_bug.cgi?id=367801
User gregkh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c9
Greg Kroah-Hartman
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c10
Ladislav Michnovič
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c11
--- Comment #11 from Ladislav Michnovič
I don't see how this is a kernel bug, but 2.6.25.4 did have a fix in it for UTF-8 characters on the console, so this might be fixed now.
I get kernel 2.6.25.4 to work. The behavior changes slightly. After "loadkeys sk-qwerty" it writes wrong encoded characters instead of question marks. It looks like latin2 encoding instead of UTF-8. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c12
Ladislav Michnovič
I've seen the same behavior for czech layout (cz-lat2-us). However, calling "yast keyboard set layout=slovak-qwerty" (or czech-qwerty) TWICE seems to "fix" the problem...
This stop working with kernel 2.6.25.4. It sets always English layout. Any idea Jiri? I think this will broke yast country module in next release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c13
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=367801
Lars Marowsky-Bree
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jkosina@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c14
Jiri Kosina
https://bugzilla.novell.com/show_bug.cgi?id=367801
User lmichnovic@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c15
Ladislav Michnovič
https://bugzilla.novell.com/show_bug.cgi?id=367801
Jiri Kosina
https://bugzilla.novell.com/show_bug.cgi?id=367801
Jiri Kosina
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jbohac@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c16
Jiri Bohac
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jbohac@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c17
Jiri Bohac
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jbohac@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c18
--- Comment #18 from Jiri Bohac
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jbohac@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c19
Jiri Bohac
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jw@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c20
--- Comment #20 from Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c21
--- Comment #21 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c22
--- Comment #22 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jw@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c23
--- Comment #23 from Juergen Weigert
https://bugzilla.novell.com/show_bug.cgi?id=367801
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=367801
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c24
--- Comment #24 from Michal Marek
mmarek submitted kbd-1.14 to STABLE. Is the issue is reproducible with the new version.
Sadly, it is. In https://build.opensuse.org/package/show?package=kbd&project=home%3Amichal-m%3Atest there's a kbd with the fixes suggested by jbohac. I'll clean it up and submit to factory tomorrow. (In reply to comment #21 from Jiri Suchomel)
So, what is the current status of this bug? And which changes in YaST are required?
Yes, as Jiri wrote, /etc/sysconfig/console:CONSOLE_SCREENMAP needs to be 8859-2 for the Czech (and Slovak presumably) keyboard to work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c25
--- Comment #25 from Jiří Suchomel
(In reply to comment #21 from Jiri Suchomel)
So, what is the current status of this bug? And which changes in YaST are required?
Yes, as Jiri wrote, /etc/sysconfig/console:CONSOLE_SCREENMAP needs to be 8859-2 for the Czech (and Slovak presumably) keyboard to work.
And what about other languages? YaST uses the table from /usr/share/YaST2/data/consolefonts.ycp - and currently for each keyboard layout there is only "none" or "trivial" (for UTF-8) value... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=367801
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c26
--- Comment #26 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=367801
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c27
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=367801
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jbohac@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c28
Jiri Bohac
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c29
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=367801
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c30
--- Comment #30 from Michal Marek
I am not aware of any change in the kernel. I think it simply never worked since we use Unicode for the console. .. Or are you aware of any distro we shipped where it worked well in UTF-8 mode?
You are right, it newer worked. I tried with a 10.2 kernel and it *seems* to work there: The 'š' (U+0161 LATIN SMALL LETTER S WITH CARON) key displays a 'š' on the console, but the application gets 0xc2 0xb9 (the latin2 code for 'š' encoded to UTF8), instead of the correct 0xc5 0xa1 code. (In reply to comment #29 from Jiri Suchomel)
I'm not sure about iso07u and iso09: is it correct to use 8859-7 and 8859-9?
And even more I'm confused with cyrillic - currently we have this mapping in yast:
// LANG font unicode map screen map, magic "ru_RU.KOI8-R" : [ "Cyr_a8x16.psfu", "", "koi2alt", "(K" ], "ru" : [ "Cyr_a8x16.psfu", "", "koi2alt", "(K" ], "ru_RU.UTF-8" : [ "Cyr_a8x16.psfu", "", "trivial", "(K" ],
Now, what should be the screen map for ru_RU.UTF-8?
I really don't know (I don't know Russian), when I tried the other day, it seemed to work (it displayed some Russian characters) with the trivial map, but I might have fallen to a similar trap as above. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jbohac@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c31
--- Comment #31 from Jiri Bohac
https://bugzilla.novell.com/show_bug.cgi?id=367801
User jsuchome@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367801#c32
Jiří Suchomel
participants (1)
-
bugzilla_noreply@novell.com