pushed
zhengqunkoo/xmobar • 6:51 AM - Aug 9, 2020
This change fixes how xmobar prepares strings before passing them to Xft for UTF-8 drawing. Instead of always mapping characters directly to code points, it now checks whether the string is already UTF-8 encoded and only runs explicit encoding when needed. That should avoid incorrect text rendering for some inputs while preserving the fast path for valid UTF-8 strings, making font drawing more reliable in practice.
