From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 02:19:54 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 5826A16A4CA for ; Mon, 26 Jun 2006 02:19:54 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6339144684 for ; Mon, 26 Jun 2006 01:49:41 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 6123E261; Sun, 25 Jun 2006 20:49:40 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id A695061C2B; Sun, 25 Jun 2006 20:49:39 -0500 (CDT) Date: Sun, 25 Jun 2006 20:49:39 -0500 From: "Matthew D. Fuller" To: "J.R. Oldroyd" Message-ID: <20060626014939.GA74292@over-yonder.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060625221640.GI48766@linwhf.opal.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-current@freebsd.org Subject: 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: Mon, 26 Jun 2006 02:19:54 -0000 On Sun, Jun 25, 2006 at 06:16:40PM -0400 I heard the voice of J.R. Oldroyd, and lo! it spake thus: > > I have some notes about Unicode support on FreeBSD here: > > http://opal.com/freebsd/unicode.html Oddly enough, I took this as an excuse to try fiddling with running UTF-8 again. Interestingly, that page actually got mutt working right (my previous tries involved using slang instead of ncurses, which is SUPPOSED to work, but never did). However, I still hit an issue with xterm. I set the fonts, turn off the 'locale' and on the 'utf8' resources (these steps being necessary to get it to work right). And then, it seems to work as long as I DON'T set the locale in the shell invoking it. Compare what I see from your linked utf8demo.txt from `xterm`[0] versus `env LANG=en_US.UTF-8 xterm`[1]. [0] http://www.over-yonder.net/~fullermd/dl/wc/works.png [1] http://www.over-yonder.net/~fullermd/dl/wc/doesnt.png -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.