Re: Man and UTF-8.
- To: debian-mentors@lists.debian.org
- Subject: Re: Man and UTF-8.
- From: Nicolas Alvarez <nicolas.alvarez@gmail.com>
- Date: Sat, 09 Jan 2010 21:16:48 -0300
- Message-id: <[🔎] hib69e$d2q$1@ger.gmane.org>
- References: <20091117042649.GB24330@kunpuu.plessy.org> <20091117073129.GA18285@ime.usp.br> <20091117135352.GB6832@kunpuu.plessy.org> <20091117142417.GA7147@jwilk.net> <hdujuu$4rm$3@ger.gmane.org> <20091117183426.GA4323@jwilk.net>
Jakub Wilk wrote:
> * Nicolas Alvarez <nicolas.alvarez@gmail.com>, 2009-11-17, 13:45:
>>>>In the manpage I wrote, I wanted to use English guillemets (‘’). This
>>>>lead to errors and I gave up, replacing them by `'. Guess what? Groff
>>>>understood what I wanted and put nice Unicode guillemets in the ouptut!
>>>>I am quite amazed, even if it looks like a strange hack to me.
>>>
>>> It's not a hack, it's an old, documented behaviour.
>>
>>And sometimes annoying. I have seen command examples in manpages that used
>>fancy Unicode quotes, and didn't work when copied and pasted into a shell.
>
> Blame the one who wrote a buggy manpage, not groff. Here's a quick guide
> to groff's apostrophe-like characters:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;bug=488213
What about double quotes?
quilt's manpage renders like this in the man viewer: ``pushed on the stack''
I looked at the source and the .1 file has exactly those characters too. So
what should it have to get them converted into nice-looking Unicode quotes?
--
Nicolas
(I read mailing lists through Gmane. Please don't Cc me on replies; it makes
me get one message on my newsreader and another on email.)
Reply to: