[xmonad] Re: Issue 302 in xmonad: XMonad.Layout.IM doesn't match UTF8 chars

codesite-noreply at google.com codesite-noreply at google.com
Sat Oct 31 12:01:21 EDT 2009


Updates:
	Status: Fixed
	Owner: vogt.adam
	Labels: Component-Contrib

Comment #3 on issue 302 by vogt.adam: XMonad.Layout.IM doesn't match UTF8  
chars
http://code.google.com/p/xmonad/issues/detail?id=302

In XMonad.ManageHook there is already a workaround for some encoding with
title.

I've pushed a patch with which your IM layout works correctly:

   Sat Oct 31 11:49:45 EDT 2009  Adam Vogt <vogt.adam at gmail.com>
     * Implement hasProperty in terms of runQuery in U.WindowProperties

     This addresses issue 302 for unicode titles by actually using the
     complicated XMonad.ManageHook.title code, instead of reimplementing it
     with stringProperty (which doesn't appear to handle unicode).

Please verify.

Note:
Other properties probably will not be unicode compatible, since they all  
seem
to be implemented in terms of getStringProperty which only produces 8 bit
characters from getWindowProperty8 with:

> map (toEnum . fromIntegral)

I'm unsure of whether the other properties should be read with a different
encoding however.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the xmonad mailing list