You are not logged in.
Hi,
I'm using st as my terminal with dwm, but st seems to have problem with letters "äöå". They work just fine in the browser and the console, but when typing them is st they turn into a question mark symbol. They also do not display properly in the status bar. Any help would be appreciated.
Thanks.
Last edited by peonerovv (2021-12-18 10:33:53)
Offline
Sounds to me that your font does not support those characters. You could try one of the monospace fonts listed on the wiki.
Offline
Few fonts don't support latin1 - what's the output of
localectl; locale; locale -a?
Offline
Sounds to me that your font does not support those characters. You could try one of the monospace fonts listed on the wiki.
No, it does. It can display russian text for example. But I'm unable to type it
Last edited by peonerovv (2021-12-17 23:23:58)
Offline
Few fonts don't support latin1 - what's the output of
localectl; locale; locale -a?
System Locale: LANG=C
VC Keymap: sv-latin1
X11 Layout: se,ru
X11 Model: latitude
X11 Options: grp:win_space_toggle
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
...
LC_ALL=
C
POSIX
en_US
en_US.iso88591
en_US.utf8Offline
I also can type both Russian letters and Swedish letters in alacritty for example, so I'm guessing this is just st's & dwm's thing. My current font in both config.h files is "Hack:pixelsize=20:antialias=true:autohitnt=true"
Offline
...
Please don't do that, https://bbs.archlinux.org/viewtopic.php?id=57855
However the cause is obvious - you're running the C locale and those glyphs are not covered by that.
Fix your locale settings, en_US.UTF-8 will do, https://wiki.archlinux.org/title/Locale … the_locale
Offline
Ok, I'll take a note on that.
Yes, this fixed the issue. I somehow forgot to set my locale during the install.
Offline