Red Hat Bugzilla – Bug 122170
gettext translations are not recoded from UTF-8 to local locale
Last modified: 2014-01-21 17:49:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.6) Gecko/20040116
Description of problem:
yum with gettext translations assume I have UTF-8, and does not recode
to my locale.
In C++, I would do something like:
string localencoding = nl_langinfo(CODESET);
(hope this helps as a hint for fixing yum, for fixing e2fsprogs it
simply must help because in C it's similar)
Note: I know that .fr packages are not yours, but this problem of
course appears when using some .mo files in UTF-8 with your yum.
Note 2: This problem applies also to your e2fsprogs, please fix.
Note 3: If you ask why do I have ISO-8859-2 instead of UTF-8, it's
because UTF isn't simply working with too many software I need to use.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Get cs.po from
2. Set LANG=cs_CZ.ISO-8859-2
3. Run yum/fsck
Actual Results: UTF-8 output on ISO-8859-2 console
Expected Results: ISO-8859-2 output on ISO-8859-2 console
Hmmm, Red Hat is trying for UTF-8 everywhere. Recoding
UTF-8 to local encoding I'm gonna leave to the yum maintainer,