[2016-10-25 00:09:42 -1000] Gaetan Bisson:
> I'm running the latest git snapshot of dwm on Arch Linux. It crashes
> (and the X server along with it) deterministically when I run:
>
> xsetroot -name $(printf '\xf0\x9f\xa4\x93')
This can be "fixed" by changing the return statement in drw.c's
utf8decodebyte() from:
return (unsigned char)c & ~utfmask[*i];
to just:
return (unsigned char)c;
And dwm simply displays little squares in place of the emoji (other UTF8
characters seem to be displayed normally). Don't ask me why, I don't
speak Unicode...
Cheers.
--
Gaetan
Received on Tue Oct 25 2016 - 13:44:22 CEST