From owner-freebsd-i18n@FreeBSD.ORG Sun Jan 3 17:03:03 2010 Return-Path: Delivered-To: freebsd-i18n@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C709D106566C; Sun, 3 Jan 2010 17:03:03 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 714B08FC0A; Sun, 3 Jan 2010 17:03:03 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id o03H31dw063975; Sun, 3 Jan 2010 11:03:01 -0600 (CST) (envelope-from scf@FreeBSD.org) Date: Sun, 3 Jan 2010 11:03:01 -0600 (CST) From: "Sean C. Farley" To: =?ISO-8859-15?Q?Ulrich_Sp=F6rlein?= In-Reply-To: <20100103013832.GL3508@acme.spoerlein.net> Message-ID: References: <1112548880.20100101154736@takeda.tk> <20100103013832.GL3508@acme.spoerlein.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="56599777-1090201092-1262538182=:5267" X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-stable@FreeBSD.org, freebsd-i18n@FreeBSD.org Subject: Re: UTF-8 problem in 8.0 X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 17:03:03 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --56599777-1090201092-1262538182=:5267 Content-Type: TEXT/PLAIN; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 3 Jan 2010, Ulrich Spörlein wrote: > On Fri, 01.01.2010 at 15:47:36 -0800, Derek Kulinski wrote: >> Hello, >> >> After installing FreeBSD 8.0 I noticed that some characters aren't >> displayed correctly (it worked fine for 7.2). >> >> Mainly the dash character is most noticeable (though it's possible >> it's more of them). >> >> Example: >> env LANG=C man sh >> env LANG=pl_PL.UTF-8 man sh >> env LANG=en_US.UTF-8 man sh >> >> The first command shows everything fine, the later two seem to show >> some unprintable character in place of every dash (i.e. in the second >> paragraph word "built-in", or the dashes that break up the words at >> the end of the line) > > me too, though I'm only setting LC_CTYPE to de_DE.UTF-8 and I don't > always see it. It must be some combination of xterm/ssh and/or putty > that breaks this. > > On the other hand, I thought there was a commit done, that would > render - (the dash) always as - (0x2d) so you can copy&paste the > examples from the manpage into your shell. > > But perhaps I was just dreaming this up? The last commit that I recall (r192561) fixed dashes in front of options (.Fl macro) but not dashes present within a man page. Personally, I just create an alias for man to call 'LANG=C man' to protect against examples with non-ASCII (U+002D) dashes. Read the commit message[1] for a better explanation of unresolved issues. Sean 1. http://svn.freebsd.org/viewvc/base?view=revision&revision=192561 -- scf@FreeBSD.org --56599777-1090201092-1262538182=:5267--