UTF-8 in console
Nejc Škoberne
nejc at skoberne.net
Wed Apr 4 22:02:33 UTC 2007
Hello,
I am have many FreeBSD 5.x and 6.x servers installed and I have this in my
/etc/profile:
LANG=sl_SI.UTF-8; export LANG
MM_CHARSET=UTF-8; export MM_CHARSET
because I am using UTF-8 encoding with PuTTY. It works with most applications
but not with "dialog". For example, I get this when using UTF-8:
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Options for nrpe2 2.7 x
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x [ ] SSL SSL support x x
x x [ ] ARGS Enable command arguments *POTENTIAL SECURITY RISK* x x
tqmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjqu
x [ OK ] Cancel x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
so there are letters l, q, k, x, t, m, j, and u instead of "line" characters.
How do I fix this? It work's OK with ISO-8859-2 encoding, for example.
Thanks,
Nejc
More information about the freebsd-questions
mailing list