Bad unicode `-' in manpages
swell.k at gmail.com
Fri Feb 6 11:56:39 PST 2009
Dmitry Marakasov <amdmi3 at amdmi3.ru> writes:
> It seems like unicode was introduced into man pages on current.
> "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.
More information about the freebsd-current