Bug 91689 - gnome help system show russian man pages in raw utf-8
Summary: gnome help system show russian man pages in raw utf-8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: yelp
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
: 104045 (view as bug list)
Depends On:
Blocks: CambridgeBlocker
TreeView+ depends on / blocked
 
Reported: 2003-05-27 08:33 UTC by Leonid Kanter
Modified: 2007-04-18 16:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-14 10:34:17 UTC
Embargoed:


Attachments (Terms of Use)
yelp snapshot with raw utf-8 (38.04 KB, image/png)
2003-05-27 08:38 UTC, Leonid Kanter
no flags Details
patch that fixes this problem (2.57 KB, patch)
2003-05-27 08:57 UTC, Leonid Kanter
no flags Details | Diff
This is how it looks with patch applied (58.54 KB, text/plain)
2003-05-27 09:16 UTC, Leonid Kanter
no flags Details

Description Leonid Kanter 2003-05-27 08:33:42 UTC
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
affected too.

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

libgnome-2.2.0.1-8

How reproducible:

always

Steps to Reproduce:
1. install alpha2 with Russian language support enabled
2. try to open man cp in yelp
    
Actual results:

raw utf-8

Expected results:

cyrillic text

Additional info:

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.

Comment 1 Leonid Kanter 2003-05-27 08:38:05 UTC
Created attachment 91988 [details]
yelp snapshot with raw utf-8

Comment 2 Leonid Kanter 2003-05-27 08:57:49 UTC
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

Comment 3 Leonid Kanter 2003-05-27 09:16:54 UTC
Created attachment 91990 [details]
This is how it looks with patch applied

Comment 4 Alexander Larsson 2003-08-27 16:40:37 UTC
Fixed in yelp 2.3.6-2.

Comment 5 Alexander Larsson 2003-08-27 17:02:48 UTC
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.

Comment 6 Alexander Larsson 2003-09-10 15:46:39 UTC
Should be fixed in yelp 2.4.0-1

Comment 7 Alexander Larsson 2003-09-11 07:41:26 UTC
*** Bug 104045 has been marked as a duplicate of this bug. ***

Comment 8 Ray Strode [halfline] 2005-05-12 15:52:36 UTC
Hi,
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)

Comment 9 Leonid Kanter 2005-05-14 10:34:17 UTC
Tested yelp-2.9.3 on man rpm - russian is ok


Note You need to log in before you can comment on or make changes to this bug.