Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2006 20:49:39 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        "J.R. Oldroyd" <fbsd@opal.com>
Cc:        freebsd-current@freebsd.org
Subject:   Unicode (was Re: Updating ncurses in base)
Message-ID:  <20060626014939.GA74292@over-yonder.net>
In-Reply-To: <20060625221640.GI48766@linwhf.opal.com>
References:  <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060626014939.GA74292>