Re: [dev] dmenu and unicode

From: Dmitrij D. Czarkoff <czarkoff_AT_gmail.com>
Date: Sat, 22 Mar 2014 02:27:45 +0100

fREW Schmidt said:
> As far as I can tell dmenu doesn't work with unicode input.
>
> To see an example, check this out:
>
> perl -E'binmode(STDOUT, ":encoding(UTF-8)"); say "\N{HEAVY BLACK HEART}"'
>
> vs
> perl -E'binmode(STDOUT, ":encoding(UTF-8)"); say "\N{HEAVY BLACK HEART}"' | dmenu
>
> Anyone have tips on making this work? Thanks!

Just choose proper font, eg.:

    perl -E'binmode(STDOUT, ":encoding(UTF-8)"); say "\N{HEAVY BLACK HEART}"' | dmenu -fn "-*-dejavu sans mono-medium-r-normal-*-*-*-*-*-*-*-iso10646-1"

-- 
Dmitrij D. Czarkoff
Received on Sat Mar 22 2014 - 02:27:45 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 22 2014 - 02:36:06 CET