Bug 329071
Summary: | Incorrect UTF-8 character encodings for Romanian language | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Răzvan Sandu <rsandu2004> |
Component: | kbd | Assignee: | Vitezslav Crhonek <vcrhonek> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 5.4 | CC: | alexxed, marius.stracna |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.secarica.ro | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-13 09:57:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 294461, 294471, 294531, 337271, 353721 | ||
Bug Blocks: |
Description
Răzvan Sandu
2007-10-12 06:20:46 UTC
Sorry, I made a huge mistake in the description above, when listing Unicode codes: The CORRECT versions of characters are the comma-ones, the incorrect versions are the cedilla-ones. Regards, Razvan *** Bug 221777 has been marked as a duplicate of this bug. *** Thanks for reporting. I've recetly inserted new ro.map from Alexandru Szasz to kbd (see #253892). If you chceck the map file, you can see that cedilla-ones are used instead of comma-ones because there is no font able to display them. So what I'd like to do: a) fix the ro.map file to right unicode values b) fix the unicode map in LatArCyrHeb-16 font (now default for Romanian language in console). Same glyph as before will be used, but with right unicode value. Thanks a lot ! If you do the above, things will start to get straight - it is a veeeeeeeeery old bug on Romanian computers, due to some wrong, historical, Microsoft implementations in the '80s... AND to the disinterest of the Romanian authorities (Ceausescu's) in that time... ;-) Regards, Razvan Is there a way to notice the font "manufacturers" - so all future fonts will come with the right maps by default ? This problem is not limited to Red Hat/Fedora, but I'm pretty sure it's present in other major distros too (Debian, Ubuntu, CentOS, SuSE, etc.) Regards, Răzvan At least in OpenOffice Writer's special character table (Insert -> Special character) on Fedora 8, under "Latin Extended-B", I see glyphs which are able to properly display the Romanian correct comma-versions. Regards, Răzvan Please try kbd-1.12-26.fc8. Hello and many thanks, I will test with it, as soon kbd-1.12-26.fc8 shows up in the Fedora development repository. Regards, Răzvan Hello, Here is the test after installing kbd-1.12-26.fc8: 1. In text mode, I have no support for Romanian-specific characters at all (for example, pressing AltRight+s) gives plain "s". 2. In X mode, the incorrect cedilla-versions of the Romanian characters are still inserted/displayed when pressing AltRight+character. 3. Initialization scripts display cedilla-versions of Romanian characters, with no garbled character. Regards, Răzvan Hi Razvan, 1. Do you have right keymap and font selected? As root do: loadkeys /lib/kbd/keymaps/i386/qwerty/ro.map setfont LatArCyrHeb-16 And then try press AltGr+s. (For further information see #294531.) 2. X mode is AFAIK something different and is not in scope of kbd component. Hello, I did the following: 1. Exited X 2. Issued the two commands above (as root). 3. Pressed AltGr-s and AltGr-t. Result: When pressing AltGr-s, the incorrect cedilla-character is displayed. When pressing AltGr-t, the simple t (with no comma or cedilla) is displayed. However, what must be fixed is the way the programs work in the distro as a whole, in both text and X mode. Could you please add in Cc: the right persons, so the maintainers for the X part be kept informed as well ? Many thanks, Răzvan Please note that, before the test I did in comment #9, I just used the standard GUI tools to configure language and keyboard: System -> Administration -> Language and System -> Administration - Keyboard. Did no other "hacking" at all... Răzvan Hello Răzvan, The keymaps from text mode and graphic mode are different. As regarding the cedilla/comma, please note that there are still many fonts that DO NOT have the characters with comma so it would be a frustrating thing to set the default with comma now. First all the fonts should have the comma characters. I strongly recomment to NOT set the variant with comma as default but rather leave it as an option. Windows XP is unable to display the comma characters with most of the fonts. There is a fix on microsoft.com but regular users don't care and don't know usually. In X, Fedora right now the comma is an option (setxkbmap ro comma), and the sedila is the default. For consistency, I recommend we leave the cedilla as default in text mode also, otherwise there will be pain with samba share names that have cedilla characters and other platforms won't be able to display them. As for the „t” problem, it really is a problem. kbd-1.12-27 has a defective keymap that differs from the one I submitted in bug #253892 I'll reopen that bug. Răzvan, in the meantime you can try downloading https://bugzilla.redhat.com/attachment.cgi?id=162824 to /lib/kbd/keymaps/i386/qwerty/ro.map.gz and try to write with diacritics. I'll propose an alternative keymap for commas, that should be optional. I meant comma characters in the following sentence: For consistency, I recommend we leave the cedilla as default in text mode also, otherwise there will be pain with samba share names that have cedilla characters and other platforms won't be able to display them. Right now there is NO text font that has the ş and ţ characters with comma. I was lucky enough to find a font with all the rest of the romanian characters. Sticking to sedilla is the only option until a font with commas exists. I'll see what I can do regarding that. Also ro_win can be removed safely, it's unusable anyway. I'll prepare a variant with comma for the future and two more with sedilla/comma but with the romanian layout instead of the altgr solution. Note: there are very very few keyboards with romanian layout, that's why the altgr solution is the default one. Hello, Thanks a lot, Alex, about clarification ! However, I'm very unsatisfied about that state of facts. Is there anything we can do - in a relatively short term - to get some fonts with *proper* Romanian diacritics ? Who's the actual author of the fonts we use *now* in Fedora/Red Hat, anyway ? I'm afraid that continuing to use cedilla-characters for "compatibility" sake will propagate indefinitely this state of facts, due to the lack of interest from the large mass of Windows users and the very slow acceptance of Windows Vista (where this bug is fixed, as far as I know). Please note also another bug I've opened, bug #337271 - the standardised Romanian arrangements for keyboard are still not present in Red Hat/ Fedora. Regards, Răzvan Hello Răzvan, There is something we can do, but please contact me by e-mail so we don't spam this application. Meantime, Vitezslav can close this after fixing https://bugzilla.redhat.com/show_bug.cgi?id=253892#c3 As I said I'll provide arrangements for the romanian layout as well (not the alt gr version, but the one with diacritics on the keyboard). For text mode, this was fixed in bug 253892. *** Bug 444869 has been marked as a duplicate of this bug. *** The issue about Romanian incorrectly-generated characters was recently corrected in bug #13277 at freedesktop.org. Please see comments #82 and #83, with the appropriate patch: http://bugs.freedesktop.org/show_bug.cgi?id=13277 Would you please include this correction in Red Hat/Fedora ASAP, since it affects *thousands* of documents and webpages generated in Romanian language ? Thanks a lot, Răzvan To make summary: Bug is fixed in RHEL5 (kbd-1.12-20). Strictly speaking - console part of this issue. There is bug #337271 to track X part of issue, so I'll close this bz as duplicate of #337271. It's not in a scope of kbd package. Console part is also fixed in Fedora, still it isn't in RHEL4 (bug #294461). Am I right? *** This bug has been marked as a duplicate of 337271 *** Yes, Fedora 9 has it fixed, can't say about RHEL, I'm not using it. Hello, Alex ! Can you please sketch a step-by-step procedure to find out if/how is that fixed in Fedora 9 ? I'm running Fedora 9 preview release with all updates (upgraded from Fedora 8 via preupgrade) and I have three problems: - the graphical utility for setting the keyboard language (system-config-keyboard) is nowhere in the Gnome menus; - if invoked manually from a terminal, system-config-keyboard let me choose "Romanian" from the list, but that's all. There is no way to choose from the five possible settings, namely: a. Primary Romanian layout with comma-below characters b. Secondary Romanian layout with comma-below characters (should be DEFAULT for Romanian language) c. Primary Romanian layout with cedilla-below characters (compatibility mode still necessary) d. Secondary Romanian layout with cedilla-below characters (compatibility mode still necessary) e. Romanian Legacy/Martin Poehler (compatibility mode still necessary) - using AltGr+key in applications to generate diacritics, I'm still inserting cedilla-below characters (Thunderbird, mutt, OpenOffice.org, etc.). How do you suggest to fix all this ? Thanks a lot, Răzvan Please see comment https://bugzilla.redhat.com/show_bug.cgi?id=337271#c13 |