You are not logged in.
I've setup putty to use translation utf-8. With this setting mc is displayed correctly but iftop is not. If I switch to translation iso-8859-1 it is reversed. iftop is display with the proper characters but mc is not.
On the archlinux box I have :
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
How could I have both iftop and mc work with the proper set?
Last edited by theking2 (2015-02-11 18:05:21)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Putty is from Windows or Linux (putty is common on Windows but exists also in Linux)? I remember options to use Unicode or so for line drawing characters. Try to change that. What's the output of locale? Try LC_ALL=en_GB.UTF-8 to see if that makes a difference.
Last edited by olive (2015-02-01 19:03:30)
Offline
Putty is from Windows or Linux (putty is common on Windows but exists also in Linux)? I remember options to use Unicode or so for line drawing characters. Try to change that. What's the output of locale? Try LC_ALL=en_GB.UTF-8 to see if that makes a difference.
Thanks. I did a bit more searching and found this @ fedora https://bugs.debian.org/cgi-bin/bugrepo … =419660#38
Allegedly this problem was solved in http://pkgs.fedoraproject.org/cgit/ifto … 06ab023012
but hasn't made it to the archlinux binaries.
Is this something I should report somewhere?
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Putty is from Windows or Linux (putty is common on Windows but exists also in Linux)? I remember options to use Unicode or so for line drawing characters. Try to change that. What's the output of locale? Try LC_ALL=en_GB.UTF-8 to see if that makes a difference.
line drawing characters in putty (indeed on a Windows box) was switch on.
What I use as a work around is
export NCURSES_NO_UTF8_ACS=1 && iftop $@
Last edited by theking2 (2015-02-11 17:58:31)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline