[xmonad] UTF8 output from xmonad mangled
alexey.skladnoy at gmail.com
Thu Apr 29 07:15:55 EDT 2010
В сообщении от 29 апреля 2010 09:30:22 Norbert Zeh написал:
> (1) xmonad seems to double-encode the utf string. Namely, if I change
> my ppOutput to hPutStrLn handle . UTF8.decodeString, things come out
> *kind of* fine.
Yes, it does. Actual culprits are functions from XMonad.Util.Font decodeInput
and encodeInput they are encoding string as UTF8 and them GHC encode it second
I think that right fix is to use preprocessor do define them differently for
GHC<=6.10 and GHC>=6.12. A bit ugly but should work for everyone.
More information about the xmonad