Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2009 22:33:46 +0300
From:      Anonymous <swell.k@gmail.com>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Bad unicode `-' in manpages
Message-ID:  <867i43742t.fsf@gmail.com>
In-Reply-To: <20090206183344.GE17600@hades.panopticon> (Dmitry Marakasov's message of "Fri, 6 Feb 2009 21:33:44 %2B0300")
References:  <20090206183344.GE17600@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Marakasov <amdmi3@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 (=E2=80=98.=E2=80=
=99)"
>
> 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 `=E2=88=92' (U+2212 MINUS SIGN) every=
where.
> 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=3Den.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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867i43742t.fsf>