View previous topic :: View next topic |
Author |
Message |
paulie.x n00b
Joined: 02 Dec 2006 Posts: 23 Location: Czech Republic
|
Posted: Thu Feb 22, 2007 6:09 pm Post subject: Problem with UNICODE and man pages encoding |
|
|
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 |
|
|
paulie.x n00b
Joined: 02 Dec 2006 Posts: 23 Location: Czech Republic
|
Posted: Fri Feb 23, 2007 11:01 pm Post subject: |
|
|
I confused man.conf with make.conf |
|
Back to top |
|
|
selig Guru
Joined: 31 Jul 2005 Posts: 425 Location: Prague, Czech Republic
|
Posted: Wed Mar 14, 2007 1:42 pm Post subject: |
|
|
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 |
|
|
|