[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Encoding a manpage in unicode ?



Am Samstag, den 31.03.2007, 12:35 +0900 schrieb Charles Plessy:

> 	I wanted to encode some of the manpages I wrote in Unicode,
> but although xsltproc converts them fine, nroff is not able to pipe
> something correct to less, and french accents or chinese characters
> are not correctly displayed. Is there something to do, or is nroff
> simply not unicode compliant?

>From what I read (and know), you are converting a DocBook refentry into
groff. Read
file:///usr/share/doc/docbook-xsl-doc-html/doc/manpages/man.charmap.use.subset.html and use `--param man.charmap.use.subset 0' with xsltproc. This will replace _all_ unicode characters with their groff code and probably solve your problem.

Regards, Daniel



Reply to: