From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 19:56:39 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BEE1106566B for ; Fri, 6 Feb 2009 19:56:39 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 05C208FC26 for ; Fri, 6 Feb 2009 19:56:38 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so527088fgb.35 for ; Fri, 06 Feb 2009 11:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=N0xMq3n5PF3Itqfyrb2HUGEcEHUN0Dc3KZcMk3OAVk4=; b=EfKgbv4yJnELOl5vo7NsFptoi3B2ZoW7inQXMsPqx8rlt7LkgL+m8qQ3R9yQIDCFIG 1z5yIS/DoKsKX5QFgxdevMTfd0Cst2xTpkgNWSbXZcHjav3WXRL4RThME1I3Ve++oO4o qpvOxJVPtxcRnyPecuYgZ+B2puvLv1ZOG1y4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=cMLKy9W/rkG+n8nsZcQBGKLSb8hk+e0TEkIfWSZDlmBRm3vG1yZ5gMd7PVD41RYZx5 we6Bo5TvjO5cKHgcWmZpmnmf8QQLbiDk9ptjJU/9n53Ht+njP5Ky+MhK7ULfDOlUWwAP DUNcXixUak23E+Exrd+onPfwiOZh8MueITzJo= Received: by 10.86.33.10 with SMTP id g10mr1167867fgg.44.1233948831488; Fri, 06 Feb 2009 11:33:51 -0800 (PST) Received: from localhost (78-106-51-2.broadband.corbina.ru [78.106.51.2]) by mx.google.com with ESMTPS id l19sm3926757fgb.47.2009.02.06.11.33.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Feb 2009 11:33:50 -0800 (PST) From: Anonymous To: Dmitry Marakasov References: <20090206183344.GE17600@hades.panopticon> Date: Fri, 06 Feb 2009 22:33:46 +0300 In-Reply-To: <20090206183344.GE17600@hades.panopticon> (Dmitry Marakasov's message of "Fri, 6 Feb 2009 21:33:44 +0300") Message-ID: <867i43742t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Bad unicode `-' in manpages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 19:56:39 -0000 Dmitry Marakasov 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.