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

codesite-noreply at google.com codesite-noreply at google.com
Tue Feb 15 04:15:56 CET 2011


Status: New
Owner: ----

New issue 436 by o.a.stephens: XMonad.Layout.IM doesn't match UTF8 chars
http://code.google.com/p/xmonad/issues/detail?id=436

I am encountering the same issue as per  
http://code.google.com/p/xmonad/issues/detail?id=302 using his same test  
case.

What steps will reproduce the problem?
1. Configure withIM layout to match a window title with UTF8 chars as
roster. Ex:
withIM (1%7) (Title "foo™") (Tall 1 0.5 0.5)
2. Run a window with the configured name. Ex:
xterm -T "foo™" -e read

What is the expected output? What do you see instead?
The window should be placed as withIM layout roster. In this case, on a
separated column to the left.

What version of the product are you using? On what operating system?
Latest XMonad Darcs on Arch X86_64.

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".
No output from xmonad --recompile.

Please provide any additional information below.

Comments from #xmonad having queried my issue:
<allbery_b> I'm looking at darcs... WindowProperties uses the ManageHook  
code (!! --- more evidence that it's mis-typed) and ManageHook.hs in the  
core uses getStringProperty everywhere
<allbery_b> (in particular it's using it for _NET_WM_* which is completely  
wrong as they are all defined as Unicode stored as 32 bit lists)
<allbery_b> suggest you reopen that bug report, or file a new one about  
_NET_WM_* being misinterpreted

I am attempting to match Skype's window title, which also contains the ™  
character.

Attachments:
	xmonad.hs  483 bytes



More information about the xmonad mailing list