mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-13 19:25:52 -07:00
At some point `peekCString` became locale aware. This is a double bug, since (a) `decodeString` was being applied to the result and (b) the locale might not be UTF-8, but the string being decoded always is. The fix is to use `peekCAString` which bypasses the locale decode, then continuing to do UTF-8 decode.