From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.2.1) Gecko/20030303 Description of problem: Since we have decided to use UTF-8 locale, we can't look at EUC-JP manpages. so basically it needs to be converted to UTF-8. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.LANG=ja_JP.UTF-8 man rpm 2. 3. Actual Results: more warnings are output, and manpages is not readable. Expected Results: no warnings and readable. Additional info: I'm refiling this due to bugzilla issue.
Created attachment 96464 [details] man page for rpm package in UTF-8 (ja and ko) 1) iconv -f EUC-JP -t UTF-8 rpm.8 > rpm.8.ja_JP.UTF-8 2) iconv -f EUC-KR -t UTF-8 rpm.8 > rpm.8.ko_KR.UTF-8
Fixed in CVS, should be in rpm-4.2.2-0.8 and later.
An errata 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/RHBA-2004-098.html
while the man pages really should be converted to UTF-8, it should be noted that the current version of nroff in FC2 will auto-convert EUC-JP man pages to UTF-8. So when man is upgraded, you won't see the breakage anymore. But this functionality is for legacy app compatibility-- the core man pages should be in the default encoding for all locales: UTF-8.
This issue is/was fixed, rpm-4.2.2-0.14 is in RHEL 3QU2 and the fix is in fc3 and RHEL4. Now you want the change reverted? Please confirm, I'm confused.
Comment #5: on FC2 or later you are right. but this issue happens on RHEL3. we hadn't done UTF-8 migration yet on RHEL3. and we don't support UTF-8 on CJK locales for RHEL3. we are missing a lot to do it on RHEL3. if this issue can be fixed in man and/or groff, I have no objection. but please note that the packages other than rpm has the manpages of the legacy encoding on RHEL3. and the manpages on RHEL3 should be shown as the legacy encodings like EUC-JP/EUC-KR/GB18030/Big5. we have 2 versions of the package(man/groff or rpm) for RHEL3 and others anyway.
The summary does not reflect the current problem in RHEL3 at all (Customers wanted the manpages encoding change from UTF-8 to eucJP because we were using native encoding in RHEL3). The original problem was for FC2 and this is already resolved. Fuchi-san, I think it is better to post a new bug so that Jeff will have more clear on the problem and the situation. What do you think?
bug 138434 is open for the RHEL3 man page issue now. Closing this because the initial problem is fixed on FC2.