Re: [dwm] unicode characters in status

From: Anselm R. Garbe <>
Date: Tue, 5 Dec 2006 14:14:42 +0100

On Tue, Dec 05, 2006 at 12:06:37PM +0100, Sander van Dijk wrote:
> On 12/5/06, Anselm R. Garbe <> wrote:
> >Nah, I'm not sure at all what we do is a good idea. This change
> >will be in dwm-2.6 and dmenu-1.6, but first the change has to be
> >evaluated, before we don't see any impact of it. I think I'm
> >going to consult other WM implementations first, to check how
> >they have decided to handle missing font sets.
> Considering Diego's mail, I agree. Fixing a problem for one person by
> breaking it for another is pointless.

Well after looking into several WM and a few terminal
implementations I conclude that dropping the fontset if there
are missing subsets is not done in general. This might solve the
issue of having to install yet another XLC_LOCALE, however, I'm
not sure yet, why the firefox title when accessing is
not cyrillic with terminus font for me.

I also noticed that if one does not invoke:

setlocale(LC_CTYPE, "");

before creating the X fontset, no UTF-8 capabilities will be
present (that sucks badly, but it seems one has to
setlocale(LC_CTYPE, ""); to make sure that the system
environment's locale is used, regardless if locale.h or
Xlocale.h is used, both have the same effect).


 Anselm R. Garbe >< >< GPG key: 0D73F361
Received on Tue Dec 05 2006 - 14:14:42 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:33:27 UTC