Bug 194599

Summary: ja_JP help pages are garbled
Product: Red Hat Enterprise Linux 4 Reporter: Bastien Nocera <bnocera>
Component: squirrelmailAssignee: Warren Togami <wtogami>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2006-0668 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-26 12:27:23 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: 171491, 176344    
Attachments:
Description Flags
squirrelmail-encode-japanese-help-for-web.patch none

Description Bastien Nocera 2006-06-14 10:38:35 UTC
squirrelmail-1.4.6-7.el4

The whole ja_JP web interface is written in EUC-JP, but in the .spec file, the
help files are converted to UTF-8:
        for a in `ls help/$LOCALE/ 2>/dev/null` ; do
            iconv $SKIPINVALID -f $CHARSET -t utf-8 help/$LOCALE/$a > $a.new &&
mv $a.new help/$LOCALE/$a
        done

Resulting in a completely garbled help file.

The attached patch converts the UTF-8 back to EUC-JP before showing it. Another
work-around is obviously to not convert the file from EUC-JP in the first place.

Comment 1 Bastien Nocera 2006-06-14 10:38:36 UTC
Created attachment 130816 [details]
squirrelmail-encode-japanese-help-for-web.patch

Comment 2 Warren Togami 2006-06-14 19:29:03 UTC
We aren't sure why the interface is in EUC-JP in the first place.  This requires
more investigation.


Comment 6 Warren Togami 2006-06-23 20:03:17 UTC
Trying this by avoiding conversion of the help file...  Will test.


Comment 7 Warren Togami 2006-07-10 17:22:25 UTC
Testing in FC with squirrelmail-1.4.7-2.


Comment 8 RHEL Program Management 2006-08-18 15:32:53 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 14 Red Hat Bugzilla 2006-09-26 12:27:23 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0668.html