Bug 194599 - ja_JP help pages are garbled
Summary: ja_JP help pages are garbled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: squirrelmail
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Warren Togami
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 171491 176344
TreeView+ depends on / blocked
 
Reported: 2006-06-14 10:38 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHSA-2006-0668
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-26 12:27:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
squirrelmail-encode-japanese-help-for-web.patch (2.15 KB, patch)
2006-06-14 10:38 UTC, Bastien Nocera
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0668 0 normal SHIPPED_LIVE Moderate: squirrelmail security update 2006-09-26 04:00:00 UTC

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



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