Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188742 - Request to add the package groff-utf8 to the portage
Summary: Request to add the package groff-utf8 to the portage
Status: RESOLVED DUPLICATE of bug 126361
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.haible.de/bruno/packages-g...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-13 20:42 UTC by Pun
Modified: 2007-08-13 21:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pun 2007-08-13 20:42:33 UTC
As the current version of groff (groff-1.19.2-r1) does no support the manpages stored in UTF-8 (I know that it can output to UTF-8 devices the pages in non UTF-8 encodings, but this is quite the opposite case), I think it is a good idea to add the package groff-utf8 from http://www.haible.de/bruno/packages-groff-utf8.html that solves the issue with manpages stored in UTF-8 at least to Testing branch.

Reproducible: Always

Steps to Reproduce:
1.Set up gentoo as described in utf8 - howto to locale ru_RU.UTF-8
2.run man
3.set -T option for nroff to smth like -Tutf8 or -Tlatin1 or -Tascii

Actual Results:  
if -Tutf8: double conversion to utf-8 ocurs and text is corrupt
if -Tlatin1: most characters are not converted therefore displayed properly     (don't forget that terminal is set up for UTF-8 and works ok with it)
if -Tascii: the escape sequences are shown instead of the characters themselves


Expected Results:  
Man should display the UTF-8 pages correctly

groff-utf8 solves the issues with utf8 in the neatest possible way today.
I hope it becomes the part of groff sometime. Unfortunately I'm new to Gentoo and don't know how to make ebuilds yet.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-13 20:59:21 UTC
Well, maybe the guy should focus on getting UTF8 support fixed upstream. :)

*** This bug has been marked as a duplicate of bug 126361 ***
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-08-13 21:34:38 UTC
Newer Groff is in Eaedificāta Repository.
http://www.ffta.host.sk/Eaedificata/

The appropriate setting in /etc/man.conf should be:
NROFF      /usr/bin/preconv | /usr/bin/nroff -c -mandoc