Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with UNICODE and man pages encoding
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
paulie.x
n00b
n00b


Joined: 02 Dec 2006
Posts: 23
Location: Czech Republic

PostPosted: Thu Feb 22, 2007 6:09 pm    Post subject: Problem with UNICODE and man pages encoding Reply with quote

Hi.
I converted my system to UNICODE with assistance http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8. I re-encoded several files and several filenames. But my man-pages are still displayed with bad characters ('á' is 'á') in console even in X terminal emulator. I unmerged package (with local man pages 'app-i18n/man-pages-cs'), deleted distfile and again merged but it remained same. So I had uncompressed one local man page and looked into raw text and there it is all right. I tried to changed line in /etc/make.conf:
Code:
NROFF           /usr/bin/nroff -Tascii -c -mandoc

to
Code:
NROFF           /usr/bin/nroff -Tutf8 -c -mandoc

and also according to comments to
Code:
NROFF           /usr/bin/nroff -c -mandoc.

In both cases result was same. Also I have correct fonts for my language and unicode use flag defined.
Back to top
View user's profile Send private message
paulie.x
n00b
n00b


Joined: 02 Dec 2006
Posts: 23
Location: Czech Republic

PostPosted: Fri Feb 23, 2007 11:01 pm    Post subject: Reply with quote

I confused man.conf with make.conf
Back to top
View user's profile Send private message
selig
Guru
Guru


Joined: 31 Jul 2005
Posts: 425
Location: Prague, Czech Republic

PostPosted: Wed Mar 14, 2007 1:42 pm    Post subject: Reply with quote

I have finally found a solution to make latin2 characters work correctly (I am not using utf8, but at least it works now, using man-pages-cs... try changing my latin2 to utf8 and see what happens):

These lines seem to make a difference:
Code:

NROFF /usr/bin/nroff -Tlatin1 -c -mandoc
NEQN /usr/bin/geqn -Tlatin2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum