Red Hat Bugzilla – Bug 106051
need to convert Japanese manpages to UTF-8
Last modified: 2007-11-30 17:10:31 EST
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):
Steps to Reproduce:
1.LANG=ja_JP.UTF-8 man 5 shadow
Actual Results: more warnings are output, and manpages is not readable.
Expected Results: no warnings and readable.
I'm refiling this due to bugzilla issue.
Fixing in 4.0.3-13. Is there a systematic way of doing this sort of thing which
is preferred over one-off solutions like the one used this time?
Well, actually all manpages should has any information what encoding it is
using. e.g. .encoding UTF-8. and basically groff should converts it according to
that and current locale. but no such rules right now. so what we can do now is
just using iconv or something.