[dwm] d{wm,menu} and utf8

From: Sander van Dijk <a.h.vandijk_AT_gmail.com>
Date: Wed, 13 Dec 2006 09:34:25 +0100

Hi,

I'm still experiencing some oddities with multibyte characters in
d{wm,menu}. If, in urxvt, I press and hold Ctrl+Shift, type 1,5,2, and
release Ctrl+Shift, it displays a single character (something like DE,
but with the D mirrorred vertically and attached to the E, I've got no
idea what that character is called).
However, when I echo that character into dmenu, it displays one item
consisting of _two_ characters (with my default font: "(+"). Even when
I start dmenu explicitly with the font urxvt says it takes the
character from, it still displays one item of two characters (this
time an A with a " on top, followed by a square).
The funny thing is, in both of these cases, when I select that item,
it gets printed to stdout correctly as the "DE" character.
Since urxvt uses different fonts for different characters when
required, it'll always be possible that it displays some stuff that
dmenu doesn't. However, I do believe that a sequence of bytes that
represents _one_ character in urxvt should represent _one_ character
in d{wm,menu} too, right? (even if the used font doesn't contain that
specific character, it should display just one square).

Are other people experiencing the same thing?

Greetings, Sander.
Received on Wed Dec 13 2006 - 09:34:26 UTC

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