[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
utf8 + alt_charset = broken?
From: |
Atom Smasher |
Subject: |
utf8 + alt_charset = broken? |
Date: |
Sat, 14 Nov 2009 11:19:21 +1300 (NZDT) |
User-agent: |
Alpine 2.00 (BSF 1167 2008-08-23) |
i've got access to two linux boxes where alt_charset in screen seems
broken. on a third linux box (and several freebsd boxes) it works fine.
the difference seems to be the locale, which does not adversely affect
alt_charset in other terminal emulators.
screenshots and explanations:
1) the way things should work with alt_charset behaving properly on a
recent linux install. the locale is set to "POSIX".
http://smasher.org/tmp/snapshot170.png
2) broken. this is also a recent linux box. the alt_charset is hosed and
the locale is set to "en_US.UTF-8". note that some of the output is
displayed as double-characters.
http://smasher.org/tmp/snapshot171.png
3) using the same box as #2 i ran "export LC_CTYPE=C" before starting
screen. then under screen the alt_charset is displayed correctly.
http://smasher.org/tmp/snapshot172.png
is there an easy way to properly fix this? am i doing something wrong? or
is this a bug in screen?
thanks...
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"Reality is that which, when you stop believing in it,
doesn't go away."
-- Philip K. Dick
- utf8 + alt_charset = broken?,
Atom Smasher <=