Red Hat Bugzilla – Bug 91689
gnome help system show russian man pages in raw utf-8
Last modified: 2007-04-18 12:54:02 EDT
Description of problem:
If you install beta2 in Russian and try to open any translated manual page in
gnome help system (yelp), it will be shown in raw utf8. All other languages are
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install alpha2 with Russian language support enabled
2. try to open man cp in yelp
yelp is using gtkhtml2 and acts like regular browser. If encoding of html isn't
set, browser don't know how to show this page properly. Since all international
man pages in redhat are in utf-8, /usr/libexec/gnome2-man2html must always add
encoding=utf-8 to resulting html.
Created attachment 91988 [details]
yelp snapshot with raw utf-8
Created attachment 91989 [details]
patch that fixes this problem
This patch always adds <META http-equiv="Content-Type" content="text/html;
charset=UTF-8"> to resulting html
Created attachment 91990 [details]
This is how it looks with patch applied
Fixed in yelp 2.3.6-2.
Hmm, it doesn't work perfectly. Now it works in a utf8 locale, but not in a
non-utf8 locale. It really needs to set the charset when calling man.
Should be fixed in yelp 2.4.0-1
*** Bug 104045 has been marked as a duplicate of this bug. ***
I'm going through bugs assigned to me and attempting to clean some of the older,
fixed ones up.
This bug hasn't changed in over a year old now. Are you still seeing the problem?
(This a batch message is being sent to all my bugs that haven't changed in a year)
Tested yelp-2.9.3 on man rpm - russian is ok