UTF-8 and FreeBSD Ports make config / ncurses

Mark Shroyer subscriber+freebsd at markshroyer.com
Fri Dec 25 03:11:27 UTC 2009


Hi,

I can't get the ncurses-based menu shown by running "make config" for an
arbitrary port in FreeBSD 8.0 to use UTF-8 line drawing characters,
rather than ISO-8859-1.

I've configured my locale by setting

    :charset=UTF-8:\
    :lang=en_US.UTF-8:

in /etc/login.conf and then running cap_mkdb, and this has been
sufficient to get other programs, such as mc, to provide UTF-8 output.
But `make config` in the ports tree is still giving me ISO-8859-1,
resulting in garbled characters in my terminal emulator (PuTTY), which
is configured for UTF-8.  What am I missing?

Thanks,
Mark

-- 
Mark Shroyer
http://markshroyer.com/contact/


More information about the freebsd-questions mailing list