Red Hat Bugzilla – Bug 140512
[PATCH] please convert man pages from old encoding to UTF-8
Last modified: 2013-07-02 19:03:53 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020
Description of problem:
Some of the man pages in the rpm package is in an old encoding and
need to be converted to UTF-8.
Steps to Reproduce:
1. LANG=pl_PL.UTF-8 man gendiff (the same for all Polish man pages)
2. LANG=sk_SK.UTF-8 man rpm
Actual Results: man displays warning of old encoding
Expected Results: display pages properly
Created attachment 107287 [details]
spec file patch to add the UTF-8 conversion
/usr/share/man/sk/man8/rpm.8.gz needs converting from ISO-8859-2 too.
It's converted by the patch. Please look into it more carefully. (it's
the last file in the list)
Oops, sorry, I didn't expect such a trick :)
The real problem is one of content, not encoding:
.\" translated into slovak by Peter Ivanyi <email@example.com>
.\" for rpm version 3.0.5-9.6x
.TH rpm 8 "22 December 1998" "Red Hat Software" "Red Hat Linux"
I use what PLD uses for encoding, since they actually maintain
their man pages, when I update man pages in rpm.
it looks like this is not the only obsolete man page for rpm, see the
Russian man page (last updated 22th Apr. 1999). Should we drop them?
I think to have an old localized man page is better than nothing.
Almost all central european pages are pretty standardly encoded in
ISO-8859-2 but they should be encoded in UTF-8 in order to not to
solve encoding problems any more and to unify encoding. (It's about
four or more possible code pages for central Europe) Please see bug
139341. If you add the patch I think you could go on importing 3rd
party man pages assuming they're in ISO-8859-2 for central european
countries and we'll have them in UTF-8.
PLD concurs that utf8 is the way to go for eastern europe, will
have the conversion in rpm man pages in place next couple of days
And I still quest content updates, if you know any native
speakers who are so inclined ;-)
You're lucky since both me and mitr are from central Europe (Czech
Rep.) so that we at least understand the man pages. Particularly for
the Slovak man page in comment 5 we have Peter Vrabec
(firstname.lastname@example.org) - native Slovak in our team so maybe it's a good
idea to contact him.
Fixed upstream afaik.