Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 91689

Summary: gnome help system show russian man pages in raw utf-8
Product: [Retired] Red Hat Raw Hide Reporter: Leonid Kanter <leon>
Component: yelpAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: edoutreleau
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: 2005-05-14 10:34:17 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:
Bug Depends On:    
Bug Blocks: 100643    
Attachments:
Description Flags
yelp snapshot with raw utf-8
none
patch that fixes this problem
none
This is how it looks with patch applied none

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