Open GoogleCodeExporter opened 8 years ago
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
}
Original comment by arussell...@gmail.com
on 13 Aug 2015 at 6:09
Looks like something mangled part of that into a smiley (see the end of the
spawnPipe line).
Original comment by allber...@gmail.com
on 14 Aug 2015 at 3:19
That's intentional. I just used an emoji as an example of a character that is
encoded improperly. The issue arises from any multibyte character.
Original comment by arussell...@gmail.com
on 14 Aug 2015 at 5:09
Original issue reported on code.google.com by
allber...@gmail.com
on 13 Aug 2015 at 5:58