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

Re: Bad unicode `-' in manpages

Dmitry Marakasov <amdmi3_(_at_)_amdmi3_(_dot_)_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.
freebsd-current_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe_(_at_)_freebsd_(_dot_)_org"