Re: Bad unicode `-' in manpages

From: Anonymous <swell.k_at_gmail.com>
Date: Fri, 06 Feb 2009 22:33:46 +0300
Dmitry Marakasov <amdmi3_at_amdmi3.ru> writes:

> Hi!
>
> It seems like unicode was introduced into man pages on current.
>
> While
>
> "Include directory entries whose names begin with a dot (‘.’)"
>
> indeed looks better than
>
> "Include directory entries whose names begin with a dot (`.')"
>
> , I'm concerned about (at least) minus sign, which was changed from
> `-' (U+002D HYPHEN-MINUS) symbol to `−' (U+2212 MINUS SIGN) everywhere.
> Now most of man pages basically provide false info, and copypasting
> or search are now impossible.

Have you tried to change locale to `C' or invoke man(1) with `-o'?

locale `C' and `-o' option produce `groff -S -Wall -mtty-char -man -Tascii'

locale `en_US.UTF-8' produces
    `groff -S -Wall -mtty-char -man -Tutf8 -dlocale=en.UTF-8'

Anyway, same here, but I vaguely remember it first appeared about half a
year ago. And I think it can cause trouble when trying to view localized
man page written in unicode when you can't escape to either `C' locale
or `-o' option.
Received on Fri Feb 06 2009 - 18:56:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC