Bug 52381 - latest kpersonaliser uses wrong charset for Russian language
Summary: latest kpersonaliser uses wrong charset for Russian language
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdebase
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-23 11:23 UTC by Leonid Kanter
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-08-23 11:23:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Leonid Kanter 2001-08-23 11:23:19 UTC
Description of Problem:

kdebase-2.2-charset.patch set iso-8859-5 charset for Russian language:

+  else if(lang == "ru")
+         charset="iso-8859-5";

It's wrong, must be koi8-r (see anaconda's lang-table for Russian).
There is also no any ISO-8859-5 fonts except for fixed that is not enough
for kde.

Version-Release number of selected component (if applicable):

kdebase-2.2-5

Comment 1 Bernhard Rosenkraenzer 2001-08-23 15:26:36 UTC
Fixed in 2.2-7...
The reason I set it to 8859-5 initially is that that's what KDE's locale files 
suggest . I'll simply trust you on this one, I don't speak Russian.


Comment 2 Leonid Kanter 2001-08-23 16:00:44 UTC
I know that you don't speak Russian. But you can trust also anaconda/lang-table.
Here is the line:

Russian         ru      cyr-sun16       koi8-r          ru_RU.koi8r     ru

Comment 3 Bernhard Rosenkraenzer 2001-08-23 16:20:12 UTC
What anaconda claims is not necessarily right for KDE - if iso-8859-5 and 
kio8-r are very different, a translated string written for one will not 
necessarily display correctly on the other...
So if kde-i18n stuff is written in iso-8859-5 and not properly UTF8 encoded, 
it will display garbage even if koi8-r is the correct charset.

However, I'm quite sure all the kde-i18n stuff is UTF8 by now.



Comment 4 Leonid Kanter 2001-08-23 16:54:15 UTC
Yes, all russian .po files from kde are utf8-encoded. But 1) iso8859-5 fonts are
still needed, 2) encodings are quite different, and if file was created with
console or gnome text editor, it must be convertEd by iconv first to edit it in
iso5 editor.

[leon@p504 SRPMS]$ xlsfonts | grep -c iso8859-5
50
(-misc-fixed-* only)
[leon@p504 SRPMS]$ xlsfonts | grep -c koi8-r
375
Actually iso8859-5 live only on Sun Solaris. Most part of Linux and *BSD russian
 community uses koi8-r and small part uses microsoft-cp1251. BTW I have packages
with 75dpi fonts for iso8859-5 and cp1251, and they may be sceduled for next Red
Hat Linux release. Bulgarians and Byelorussians will enjoy cp1251 fonts very much.


Note You need to log in before you can comment on or make changes to this bug.