Re: Encoding of manpages
Hello,
I think I understand what happened.
A bug was filled against rpm
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106050) to request
the change of encodings of the Japanese and Korean man pages from
respectively the EUC-JP and EUC-KR encodings to UTF-8.
But all the pages were converted assuming the original encodings was EUC-JP.
so "iconv -f UTF-8 -t EUC-JP < rpm.8 > rpm.8.recoded"
give the right man page (the same pages sent by Sunjae Parkin), in EUC-KR.
A bug should be filled against the Redhat rpm package. They should
recode the Korean pages with:
cat rpm.8 | iconv -f UTF-8 -t EUC-JP | \
iconv -f EUC-KR -t UTF-8 > rpm.8.recoded && \
mv rpm.8.recoded rpm.8
(the same with rpm2cpio)
Debian rpm maintainers, to fix the Korean pages, you can either change the
encoding in recode_manpages.sh, or call the above command in debian/rules
before calling recode_manpages.sh.
Kind Regards,
--
Nekral
Reply to: