On Wed, Aug 06, 2008 at 09:55:55AM +0200, Antoni Grzymala wrote:
> Hi,
>
> there seems to be some inconsistent utf-8 handling id dwm's and dmenu's
> text render code.
I'm still using dwm-4.7 and with the following two patches everything
is alright for me (should be applicable to current dwm, too):
http://www.cgarbs.de/cgi-bin/gitweb.cgi/dwm-mitch.git?a=blob;f=05_patch_dwm_mitch_utf8widechars.diff
http://www.cgarbs.de/cgi-bin/gitweb.cgi/dwm-mitch.git?a=blob;f=02_patch_dmenu_mitch_utf8widechars.diff
Both
$ xtermset -title 日本語
$ { echo 猫; echo 犬; echo 何; } | dmenu
are handled and displayed correctly by dwm and dmenu.
I use the font "-misc-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" in dwm and
"-misc-fixed-medium-r-*-*-13-*-*-*-*-*-*-*" in dmenu (should really be the
same, I should add the "normal" to dmenu for consistency).
I have _not_ crosschecked this without my patches, so this could be some
kind of Cargo Cult worship :-) On the other hand, UTF-8 issue like yours
come up in this mailing list from time to time...
Regards,
Christian
-- ....Christian.Garbs.....................................http://www.cgarbs.de Suche nie nach Ursachen, schaffe Lösungen. (Herr Melzig zum Thema MS-Produkte)
This archive was generated by hypermail 2.2.0 : Wed Aug 06 2008 - 21:00:05 UTC