Mailinglist Archive: opensuse-bugs (3730 mails)
| < Previous | Next > |
[Bug 633128] Update groff to 1.20.1
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Fri, 1 Oct 2010 12:25:37 +0000
- Message-id: <20101001122537.8AC62245523@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=633128
https://bugzilla.novell.com/show_bug.cgi?id=633128#c6
--- Comment #6 from Michal Vyskocil <mvyskocil@xxxxxxxxxx> 2010-10-01 12:25:36
UTC ---
Well, it is harder to read the UTF-8 man pages. As you can see from the output
of following command
LC_MESSAGES=de_DE.UTF-8 man -d man
man runs the following sequence
zcat < /usr/share/man/de/man1/man.1.gz | /usr/bin/zsoelim |
/usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t ISO-8859-1//IGNORE | preconv -e
ISO-8859-1 | tbl | nroff -mandoc -rLL=175n -rLT=175n -Tutf8
The manconv converts the utf-8 (or latin1) manpage to iso-8859-1, preconv
replace the non-ascii characters by utf sequences \[uXXXX] which are those
nroff can handle. On the end it will convert the text back to utf8 for
terminal.
For example this is for Japanese
LC_MESSAGES=ja_JP.EUC-JP man -d man
zcat < /usr/share/man/ja/man1/man.1.gz | /usr/bin/zsoelim |
/usr/lib/man-db/manconv -f UTF-8:EUC-JP -t EUC-JP//IGNORE | preconv -e EUC-JP |
tbl | nroff -mandoc -rLL=175n -rLT=175n -Tutf8
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |