Re: Man and UTF-8.
Jakub Wilk wrote:
> * Nicolas Alvarez <firstname.lastname@example.org>, 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:
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?
(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.)