You are not logged in.
My dwm 5.7.2 (also happens for a recent hg pull) statusbar fails to display unicode characters for window titles. Tested with Firefox, Sakura, urxvt and xterm. xprop gets it right however. I've tried with terminus and fixed.
static const char font[] = "-*-terminus-*-*-*-*-*-*-*-*-*-*-*-*";
» locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Last edited by JohannesSM64 (2010-02-15 20:24:39)
Offline
X Core fonts don't support unicode. You need a pango-enabled dwm to make it work. One can be had in the dwm-pango package in AUR. (This also gets you anti-aliased fonts.) This more than doubles the dependencies of dwm, which is why it isn't in upstream.
Offline
Thanks a lot. Patched my dwm with the pango patch now
Offline
X Core fonts don't support unicode. You need a pango-enabled dwm to make it work.
I guess it isn't really true, here are my settings :
~$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
(...)
and in config.h
static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
My dwm isn't pango patched and french accents like éèà for example display fine.
Offline
@eol: Anything that would work in an ISO-8859-1 locale will work fine with your font string. Try displaying some Chinese, or "smart quotes", and it will look wrong.
Offline