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

Re: Man and UTF-8.



* 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

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature


Reply to: