Gentoo Archives: gentoo-user

From: "paulie.x" <JCD@××××××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem with UNICODE and man pages encoding
Date: Fri, 23 Feb 2007 13:13:40
Message-Id: 909.3138-15283-515149995-1172236072@seznam.cz
1 Hans-Werner Hilse napsal(a):
2 > Hi,
3 >
4 > On Fri, 23 Feb 2007 05:27:08 -0600 "Boyd Stephen Smith Jr."
5 > <bss03@××××××××××.net> wrote:
6 >
7 >> On Thursday 22 February 2007 23:14, paulie.x wrote:
8 >>> Boyd Stephen Smith Jr. napsal(a):
9 >>>> On Thursday 22 February 2007, jcd <jcd@××××××.cz> wrote
10 >>>>
11 >>>> about '[gentoo-user] Problem with UNICODE and man pages encoding':
12 >>>>> Hi.
13 >>>>> I converted my system to UNICODE with assistance
14 >>>>> http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8.
15 >>>>> But my man-pages are
16 >>>>> still displayed with bad characters ('á' is 'á') in console
17 >>>>> even in X terminal emulator.
18 >>>>>
19 >>>>> I tried to changed line in
20 >>>>> /etc/make.conf:
21 >>>>> Code:
22 >>>>> NROFF /usr/bin/nroff -Tascii -c -mandoc
23 >> I don't have a line that looks anything like that in my make.conf
24 >
25 > No, the poster most definitely meant to write man.conf instead of
26 > make.conf.
27 >
28 > That would be correct.
29 >
30 > But his output looks like he already gets UTF-8 out of "man". He just
31 > borked his terminal settings or is running a non-Unicode terminal.
32 > Otherwise, there would just be one glyph for an unrecognized code
33 > sequence, plus probably the following char being eaten.
34 >
35 > So to the OP: Configure your terminal accordingly (for console: set
36 > consoletrans and -font correctly) or if you didn't yet, install a
37 > unicode-aware terminal program.
38 >
39 > -hwh
40
41 It is not true because I'm already using UNICODE in terminal. Just man pages are still displayed worst. When I uncompressed one local man page and viewed raw text (cat man.1 | less) in my terminal, I can see correct UNICODE characters (among format sequences). Also in http://www.gentoo.org/doc/en/utf-8.xml is defined approach how to update man.conf to work with UNICODE (changing "NROFF /usr/bin/nroff -Tascii -c -mandoc" to "NROFF /usr/bin/nroff -c -mandoc"). I already tried it.
42 --
43 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Problem with UNICODE and man pages encoding Hans-Werner Hilse <hilse@×××.de>