Re: Encoding a manpage in unicode ?
Le Sat, Mar 31, 2007 at 12:14:02PM +0200, Daniel Leidert a écrit :
> 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.
Hi Daniel, hi Noridata,
the man.charmap.use.subset trick worked well for a french accent, I
will try later with a han character.
Have a nice day,
--
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan
Reply to: