[arch-general] Htop 2.0 fonts

Ralf Mardorf silver.bullet at zoho.com
Tue Feb 16 18:14:04 UTC 2016


On Tue, 16 Feb 2016 18:40:30 +0100, Nicolas F. wrote:
>Might be a locale issue as opposed to a font issue. That being said,
>works fine here.

Oops, I missed the OP's "empty box" information.

The OP likely expects what we get using utf8, but even iso88591 shows a
tree, it's just not using "├─", but instead it's using "`-".

What's the output of

 echo $LANG

?

[rocketmouse at archlinux ~]$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
[rocketmouse at archlinux ~]$ locale -a
C
de_DE
de_DE at euro
de_DE.iso88591
de_DE.iso885915 at euro
de_DE.utf8
deutsch
en_GB
en_GB.iso88591
en_GB.utf8
en_US.utf8
german
POSIX
[rocketmouse at archlinux ~]$ htop
[rocketmouse at archlinux ~]$ LANG=de_DE.iso88591 htop
[rocketmouse at archlinux ~]$ LANG=de_DE.utf8     htop
[rocketmouse at archlinux ~]$ LANG=C              htop
[rocketmouse at archlinux ~]$ LANG=en_GB.iso88591 htop
[rocketmouse at archlinux ~]$ echo $LANG
en_US.utf8

It's simlar for tree.

[rocketmouse at archlinux ~]$ LANG=en_GB.iso88591 tree | head -n3
.
|-- ::
|-- 0603f7b059f8cfa52a3d1359def64c89b5f4a3ed_800.jpg
[rocketmouse at archlinux ~]$                     tree | head -n3
.
├── ::
├── 0603f7b059f8cfa52a3d1359def64c89b5f4a3ed_800.jpg

Regards,
Ralf


More information about the arch-general mailing list