
Andrea Rossato wrote:
This problem is not really XMonad specific, but relays in the interaction between Haskell and Xlib.
X11-extras export fetchName, a wrapper for XFetchName. Unfortunately this function handles only iso-8859-1 text data, so it is not possible to retrieve the window's name if it contains multi byte characters.
Have a look here for a clearer explanation: http://www.debian.org/doc/manuals/intro-i18n/ch-examples.en.html#s13.1.8
Solving it means digging into the XTextProperty with XGetWMName(), and so writing all the library support for it. I'm sorry but this is out of the reach of my knowledge.
Maybe Spencer can have a look...
Okay, I suspected it might be more of an issue with the X11 bindings than xmonad itself. I may look into this myself, after finishing my dissertation, if someone else hasn't resolved the problem in the meantime.