From owner-freebsd-current@FreeBSD.ORG Wed Aug 26 13:58:27 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 6AEEE1065690 for ; Wed, 26 Aug 2009 13:58:27 +0000 (UTC) (envelope-from gkozyrev@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id F18388FC23 for ; Wed, 26 Aug 2009 13:58:26 +0000 (UTC) Received: by fxm6 with SMTP id 6so133898fxm.43 for ; Wed, 26 Aug 2009 06:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7FQhuDaNJDumtKYbjhNee2KHga49+RLmepCPh5yq8kE=; b=Qa+WvlV21dHWNcZDjEfHYGrFSAs0IwM8p588XZAjPZ6oBVEfT0Qx9h5h8ZCm0rhIiu SyINCOAKiCk2zXJDYmkiFKpeHOsnY0yFZIDSiaXU2hUxiYvPOcia0lj9jL4qae1vSCiL hK53QusP08YN2jeJxz41yziDYeBw5cNhaCJhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gjk8WsDZtCoOnSwBKkL/KqgWxC76xpv0zBvKbtsAwaPsLQJu/pfXax7Arh76NBQ80Y KrctufLPEFVHXP9vuhhZmNOubKXbbd82YBzq2JarKUY7h7/0xDmSw2NzCWLCTKQ3RXEo 9Aav3DmFJG1btytJIvlYPb4cL+lHxSLM53/es= MIME-Version: 1.0 Received: by 10.204.34.9 with SMTP id j9mr3698710bkd.10.1251293794348; Wed, 26 Aug 2009 06:36:34 -0700 (PDT) In-Reply-To: <20090825232212.GA48012@keira.kiwi-computer.com> References: <01895862@bb.ipt.ru> <86ab1pf8rj.fsf@gmail.com> <53729554@bb.ipt.ru> <20090825210719.GB46753@keira.kiwi-computer.com> <91153350@h30.sp.ipt.ru> <20090825232212.GA48012@keira.kiwi-computer.com> Date: Wed, 26 Aug 2009 16:36:34 +0300 Message-ID: From: Gleb Kozyrev To: rick-freebsd2008@kiwi-computer.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Boris Samorodov , freebsd-current@freebsd.org Subject: Re: man and UTF-8 locales 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: Wed, 26 Aug 2009 13:58:27 -0000 On Wed, Aug 26, 2009 at 2:22 AM, Rick C. Petty wrote: > On Wed, Aug 26, 2009 at 02:06:33AM +0400, Boris Samorodov wrote: >> On Tue, 25 Aug 2009 16:07:19 -0500 Rick C. Petty wrote: >> > On Tue, Aug 25, 2009 at 03:03:41PM +0400, Boris Samorodov wrote: >> > > On Mon, 24 Aug 2009 20:59:12 +0400 Anonymous wrote: >> > > > Boris Samorodov writes: >> > > >> > > > > Manual pages are still broken for UTF-8 locale. Here is a part >> > > > > of bzip2(1): >> > > > > ftp://ftp.ipt.ru/pub/images/man_bzip2.gif >> =A0 =A0 =A0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ =A0 =A0 =A0 [1] >> >> > It was already fixed on 2009-05-21 and MFC'd to 7-stable. >> >> This screen [1] was taken from 8-BETA3. [...] > % grep -C 3 sum contrib/groff/font/devutf8/R.proto > st =A0 =A0 =A024 =A0 =A0 =A00 =A0 =A0 =A0 0x220B > product 24 =A0 =A0 =A00 =A0 =A0 =A0 0x220F > coproduct =A0 =A0 =A0 24 =A0 =A0 =A00 =A0 =A0 =A0 0x2210 > sum =A0 =A0 24 =A0 =A0 =A00 =A0 =A0 =A0 0x2211 > \- =A0 =A0 =A024 =A0 =A0 =A00 =A0 =A0 =A0 0x002D > mi =A0 =A0 =A0" > -+ =A0 =A0 =A024 =A0 =A0 =A00 =A0 =A0 =A0 0x2213 Do all system manpages need converting to '\-'? It would take a lot of work= . The bzip2 one still has many plain '-'-s. >.B \-L --license -V --version >Display the software version, license terms and conditions. Looking at manpages from ports... smartctl(8) has all dashes replaced with '\-'. >\fBsmartctl\fP controls the Self\-Monitoring, Analysis and Reporting >Technology (SMART) system built into many ATA\-3 and later ATA, IDE and >SCSI\-3 hard drives. What's the point of manually replacing one character with another everywher= e? perl(1) has only some dashes replaced but plain '-'-s still aren't mangled somehow, so this actually looks fine: >.IP "\(bu" 4 >roll-your-own magic variables (including multiple simultaneous \s-1DBM\s0 >implementations) Can anyone comment on this? >From contrib/groff/font/devutf8/R.proto: >- 24 0 0x2010 Please note that Windows fonts seem to lack the 0x2010 character so this is= sue may raise many questions in the future. --=20 With best regards, Gleb Kozyrev.