Re: [dwm] unicode characters in status

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 7 Dec 2006 10:23:43 +0100

Hi there,

I've good news, I believe I have fixed all locale/UTF-8 related
problems in dwm and dmenu.

Actually for me it works fine, if I use en_US.UTF-8 as locale
and the terminus-UTF-8 capable font. All glyphs are rendered
correctly when visiting following URLs with firefox in the dwm
title rendering:

http://www.goettingen.de
http://www.kk.dk
http://saint-petersburg.ru

The following does not work:

http://www.beijing.cn/
(but related to terminus font that does not contain fontsets for chinese)

Well, how does the fix look like?

I moved the setlocale(LC_CTYPE, ""); from draw.c to main.c, and
I use locale.h instead of Xlocale.h - basically that's all
already. Xlib seems to work improperly if that is not done
explicitely...

Regards,

-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361
Received on Thu Dec 07 2006 - 10:23:43 UTC

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