Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 160619

Summary: message encoding not in UTF-8
Product: Red Hat Enterprise Linux 4 Reporter: Lawrence Lim <llim>
Component: kbdAssignee: Miloslav Trmač <mitr>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: qa-i18n-list, tools-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-17 02:02:49 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:    
Bug Blocks: 160591    

Description Lawrence Lim 2005-06-16 05:24:03 UTC
Description of problem:
Converting the LC_MESSAGES for ru_RU locale to po format, noticed it was
encoding with koi8-r rather than UTF-8.

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

How reproducible:
Always

Steps to Reproduce:
1.msgunfmt /usr/share/locale/ru/LC_MESSAGES/kbd.mo > kbd.po
2.
3.
  
Actual results:
charset=koi8-r

Expected results:
charset=UTF-8

Additional info:

[root@freeze ~]# more kbd.po
msgid ""
msgstr ""
"Project-Id-Version: kbd 0.99\n"
"POT-Creation-Date: 1999-10-08 20:28+0200\n"
"PO-Revision-Date: 1999-03-15 09:36+0500\n"
"Last-Translator: QingLong <QingLong@Bolizm>\n"
"Language-Team: LANGUAGE <RU>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"

Comment 1 Miloslav Trmač 2005-06-16 07:50:45 UTC
That's true, but why is that a problem? libintl automatically converts
the character set:

(LC_ALL=ru_RU.UTF-8 setmetamode --help) produces valid UTF-8,
(LC_ALL=ru_RU setmetamode --help) produces valid ISO 8859-5.

Comment 2 Lawrence Lim 2005-06-17 02:02:49 UTC
Hi,
It was something that I came across while I was trying to determine why the
russian text in the console was not readable. Thanks for clarifying and closing
the bugs as NOTABUG.


Thanks.