Bug 542404

Summary: Wrong russian interface charset
Product: [Fedora] Fedora Reporter: Sergei LITVINENKO <sergei.litvinenko>
Component: gripAssignee: Adrian Reber <adrian>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: adrian, manuel.wolfshant
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: 2009-11-29 18:19:43 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:

Description Sergei LITVINENKO 2009-11-29 17:24:31 UTC
Description of problem:
wrong russian interface charset

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

How reproducible:
100%

Steps to Reproduce:
1. export LC_ALL=ru_RU.UTF-8
2. export LANG=ru_RU.UTF-8
3. grip
  
Actual results:
interface is not applicable (wrong charset)

Expected results:
correct charset

Additional info:
File "ru.po" is in koi8-r charset. Grip convert koi8-r to utf-8 on fly.
Maybe it is because header of ru.mo contain right encoding information.
-----------------------------------------------------------------
"Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8bit\n"
-----------------------------------------------------------------
So, it is neccessary to exclude ru.po from recoding into utf-8.

grip.spec
---------------------------------------------
...
# convert non utf8 .po files to utf8
# to fix #456721 (Grip silently crahses on F8)
pushd po
- for i in es.po pt_BR.po ru.po; do
+ for i in es.po pt_BR.po; do

Comment 1 Adrian Reber 2009-11-29 18:19:43 UTC
Sounds like #477920. Closing as duplicate. Should be fixed with the next update push.

*** This bug has been marked as a duplicate of bug 477920 ***