Bug 75261
Summary: | German output is incomplete | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Thorsten Leemhuis <thl> |
Component: | redhat-switchmail | Assignee: | Than Ngo <than> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | mitr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-08-12 10:24:06 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
Thorsten Leemhuis
2002-10-06 09:38:19 UTC
It's perhaps a bug in po file. The trouble is that redhat-switchmail doesn't like when the .po files are not in UTF-8. While gettext () does transparent charset conversion, something in redhat-switchmail doesn't. Looking at i18n CVS, this will probably affect at least the following languages: da, de, es fr, is, it, ru; not sure about ja. It also affects cs, which is already fixed in CVS. This problem occurrs also in apacheconf, bindconf, hwbrowser, redhat-config-services and up2date (though the affected language sets differ). I will file bugs for these packages shortly. The workaround is to recode the file to UTF-8, i. e. cd /usr/share/locale/XX/LC_MESSAGES msgunfmt redhat-switchmail.mo -o x fgrep Content-Type x [see charset] iconv -f charset_from_above -t utf-8 < x > x2 msgfmt x2 -o redhat-switchmail.mo Oh, I forgot: the symptoms include message ** (redhat-switchmail:1220): WARNING **: Invalid UTF8 string passed to pango_layout_set_text() when redhat-switchmail is run from a terminal. I'm terribly sorry; in the workaround, replace the iconv line with msgconv -t utf-8 x -o x2 Other packages seem no to be affected, all but up2date (and redhat-switchmail) do automatic recoding to UTF-8 before compiling the catalogs. the problem is that the po files are not saved in utf-8. It's fixed now in redhat-switch-mail-0.5.19-1 or newer, which is available in rawhide |