Unicode (was Re: Updating ncurses in base)

Thomas Dickey dickey at radix.net
Tue Jun 27 00:22:48 UTC 2006


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)
> 
> + LC_CTYPE=en_US.UTF-8
> + export LC_CTYPE
> + exec xterm -class UXTerm -title uxterm -u8
> 
> which is what triggers my problem when I do it manually (`env
> LC_CTYPE=... 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.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060627/d372f737/attachment.pgp


More information about the freebsd-current mailing list