On Thu, Dec 07, 2006 at 10:23:43AM +0100, Anselm R. Garbe wrote:
> 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...
Yep, works for me (I can't check the russian though, no cyrillic fonts
installed).
thanks!
Anthony
Received on Thu Dec 07 2006 - 11:51:24 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:33:31 UTC