Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126361

Summary: please add utf8 support to groff
Product: Gentoo Linux Reporter: MACHINE <nanericwang>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: normal CC: dushistov, ed, NightNord, punloh, Sergey.Belyashov, throw_away_2002, zzam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.haible.de/bruno/packages-groff-utf8.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 244499    

Description MACHINE 2006-03-15 15:48:55 UTC
I cannot see chinese character when i change to UTF-8 according to the official gentoo documents.

Here is the solution, but i hope anyone can port it into portage system:

$ wget http://lists.gnu.org/archive/html/groff/2005-07/bineYgga7Cm9p.bin -O groff-utf8.tar.gz
$ tar zxf groff-utf8.tar.gz
$ cd groff-utf8
$ sudo make install PREFIX=/usr/local

# cat /etc/man.conf wrote:

TROFF /usr/local/bin/groff-utf8 -Tutf8 -mandoc
NROFF /usr/local/bin/groff-utf8 -Tutf8 -mandoc
Comment 1 SpanKY gentoo-dev 2006-03-15 15:53:55 UTC
looks to me like it isnt needed:
http://lists.gnu.org/archive/html/groff/2006-02/msg00086.html
Comment 2 MACHINE 2006-03-15 19:28:01 UTC
(In reply to comment #1)
> looks to me like it isnt needed:
> http://lists.gnu.org/archive/html/groff/2006-02/msg00086.html
> 

No. the current version of groff does not support CJK utf-8.
Comment 3 SpanKY gentoo-dev 2006-03-15 19:40:15 UTC
by "current version" do you mean 1.19.2 or current cvs head ?

either way, groff 1.18.x is still in portage for cjk users

if you want newer versions fixed, get it integrated upstream
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-06-24 00:33:12 UTC
*** Bug 137787 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-13 20:59:21 UTC
*** Bug 188742 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2008-02-24 18:10:58 UTC
*** Bug 146365 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2008-02-24 18:11:12 UTC
*** Bug 121502 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2008-02-24 18:12:19 UTC
*** Bug 93664 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-02-25 18:41:39 UTC
*** Bug 104593 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 18:26:45 UTC
*** Bug 211547 has been marked as a duplicate of this bug. ***
Comment 11 Hongjiu Zhang 2008-09-18 10:37:21 UTC
I am sorry to make a noise here. Now groff-1.18.x is out of portage tree, and what can we do now? Using groff-utf8. I remembered that 1.18.x keeps working in CJK environment, but 1.19.x doesn't not.
Comment 12 SpanKY gentoo-dev 2008-10-26 06:09:46 UTC
looks to me like cjk support is in 1.19.x.  if it isnt working for you, file a new bug so the cjk team can look at it.
Comment 13 Vince C. 2009-08-23 08:24:25 UTC
I have a similar problem with dnsmasq man (8) page where accented characters didn't look right. I took a look at the compressed file /usr/share/man/fr/man8/dnsmasq.8.bz2 and it turned up the compressed text file was UTF-8. I then uncompressed it, recode it to iso8859-1 and re-packed it. The problem is now fixed. Should I file a bug to the maintainers of dnsmasq accordingly?
Comment 14 SpanKY gentoo-dev 2010-01-27 02:06:19 UTC
*** Bug 235305 has been marked as a duplicate of this bug. ***