Issue 611 in xmonad: XMonad.Util.Run needs to not encode with recent ghc

Status: New Owner: ---- Labels: Type-Defect New issue 611 by allber...@gmail.com: XMonad.Util.Run needs to not encode with recent ghc https://code.google.com/p/xmonad/issues/detail?id=611 ghc 7.8 (I think; certainly 7.10) and later automatically encode strings used as command line parameters. XMonad.Util.Run has encoding code intended for older ghc versions which truncate instead of encoding; this leads to double encoding. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings

Comment #1 on issue 611 by arussell...@gmail.com: XMonad.Util.Run needs to not encode with recent ghc https://code.google.com/p/xmonad/issues/detail?id=611 Minimal config to reproduce the issue discussed on IRC (using xmobar). import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Util.Run myLogHook h = dynamicLogWithPP $ xmobarPP { ppOutput = hPutStrLn h } main :: IO () main = do xmobar <- spawnPipe "xmobar --font='xft:DejaVu Sans Mono,Symbola' --commands='[Run StdinReader]' -t '%StdinReader%}{😄'" xmonad $ defaultConfig { modMask = mod4Mask , logHook = myLogHook xmobar , layoutHook = avoidStruts $ layoutHook defaultConfig } -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com