On Sat, Dec 09, 2006 at 12:49:27AM +0100, Christian Garbs wrote:
> On Fri, Dec 08, 2006 at 09:12:56PM +0100, Christian Garbs wrote:
>  
> > My font is -misc-fixed-medium-r-*-*-13-*-*-*-*-*-*-* 
> > Umlauts work fine for me, but I had problems with Japanese Characters
> > (wide chars).
> > 
> > The attached patch fixed this for me.  It now allows even Japanese
> > Kana and Kanji to be displayed in the title bar (e.g. when surfing to
> > http://www.amazon.co.jp).
> 
> I just realized that XmbTextExtends() must be changed, too.
> Currently wide characters are not counted as being wide when the
> text width is calculated.

Actually the Xutf8 extension is technically nothing else than:

orig_locale = setlocale(LC_CTYPE, NULL);
setlocale(LC_CTYPE, "UTF-8");
Xmb* stuff
setlocale(LC_CTYPE, orig_locale);

Besides this Xutf8 is rarely used because it is nearly
unportable in !Linux and !BSD environemnts (e.g. Sun, HP, AIX,
...).

Thus, I ask: are you sure you use a UTF-8 capable locale in your
setup?

Regards,
-- 
 Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361

Reply via email to