diff -r 5bd785ede354 gui-x11/x11.c --- a/gui-x11/x11.c Tue Feb 23 01:12:28 2016 +0100 +++ b/gui-x11/x11.c Tue Feb 23 15:54:42 2016 -0500 @@ -1496,8 +1496,8 @@ * but that would add to the polling. */ prop = 1; - XChangeProperty(xd, xdrawable, prop, XA_STRING, 8, PropModeReplace, (uchar*)"", 0); - XConvertSelection(xd, clipboard, XA_STRING, prop, xdrawable, CurrentTime); + XChangeProperty(xd, xdrawable, prop, utf8string, 8, PropModeReplace, (uchar*)"", 0); + XConvertSelection(xd, clipboard, utf8string, prop, xdrawable, CurrentTime); XFlush(xd); lastlen = 0; for(i=0; i<10 || (lastlen!=0 && i<30); i++){