From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 00:22:48 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 4844516A4CC for ; Tue, 27 Jun 2006 00:22:48 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 074EF4480D for ; Mon, 26 Jun 2006 23:54:40 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5QNsd3F012877; Mon, 26 Jun 2006 19:54:40 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5QNsdfv012876; Mon, 26 Jun 2006 19:54:39 -0400 (EDT) Date: Mon, 26 Jun 2006 19:54:39 -0400 From: Thomas Dickey To: "Matthew D. Fuller" Message-ID: <20060626235439.GA11403@saltmine.radix.net> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <20060626191808.GC74292@over-yonder.net> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org 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:22:48 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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`). 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). Oddly enough (depending on your perspective of course), there are people who use xterm in UTF-8 with/without the initial locale settings. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEoHO9tIqByHxlDocRAlEUAKCjN5lA4NtdSTuGVOyZ5lRGdBFzMACfX6Xb WVHmzbAJAyhN6wr+BhQGxyc= =LBvw -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--