From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 00:53:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFECA16A414 for ; Tue, 27 Jun 2006 00:53:12 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A86D043D62 for ; Tue, 27 Jun 2006 00:53:09 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 26 Jun 2006 20:53:06 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,178,1149480000"; d="scan'208"; a="38980014:sNHT18356967" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5R0r5cQ043770; Mon, 26 Jun 2006 20:53:05 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 26 Jun 2006 20:53:05 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5R0r5d0043769; Mon, 26 Jun 2006 20:53:05 -0400 (EDT) (envelope-from jr) Date: Mon, 26 Jun 2006 20:53:05 -0400 From: "J.R. Oldroyd" To: Thomas Dickey Message-ID: <20060627005305.GE8825@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20060626235439.GA11403@saltmine.radix.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) 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: Tue, 27 Jun 2006 00:53:13 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 26, 19:54, Thomas Dickey wrote: > On Mon, Jun 26, 2006 at 02:18:08PM -0500, Matthew D. Fuller wrote: > > Well, uxterm is just a shell script, an so amenable to quick tests. > > Running it with sh -x basically yields (trimming uninteresting bits) > >=20 > > + LC_CTYPE=3Den_US.UTF-8 > > + export LC_CTYPE > > + exec xterm -class UXTerm -title uxterm -u8 > >=20 > > which is what triggers my problem when I do it manually (`env > > LC_CTYPE=3D... xterm`). >=20 > The -u8 option in combination with the locale setting is needed to make > xterm process UTF-8 (and also the -class option helps it to find the > proper fonts). >=20 > Oddly enough (depending on your perspective of course), > there are people who use xterm in UTF-8 with/without > the initial locale settings. >=20 > --=20 > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net I believe the problem Matt's seeing is due to an error in the UTF-8.src file that's distributed with FreeBSD. I have a patch to fix this. Unfortunately, documentation of this patch was not previously included in the unicode.html notes, an omission I have now corrected. The error in the UTF-8.src file is that the combining character ranges (there are three) are listed with SWIDTH1; they should have SWIDTH0. Folk who are interested can see details in the updated unicode.html file here: http://opal.com/freebsd/unicode.html#lcctype -jr --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKCBcUkkqUax7f6FAQJ3rQX/eBjTwuJ8A+l4y+pyKytN42qudm5dEHgA 03+OJ7KbgHvsSJQbUro4XR0lqClCQu5a15nEHcchxKR7+ApY3BFTmwSrZQb4gkuF nfv3Pa7kgjigQsc0oUpNRt3jWwhqxvY0vxO5kOEu8ftfIavxkgsaGO/Y1Zf3hKVf jEm/Z7UAnoiCSpQa97AZ9bPqY3eF24d8pdyZChUN+kFCyD0uPCJipNeCAZY2FSvq RcPqZ37daqxyQaG9srbHX6lN9XNsR/NG =YUEq -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--