Hi,

On Fri, May 27, 2016 at 05:47:41PM +0200, Phyks wrote:
> Hi,
> 
> I have my urxvt set up and everything was fine. But starting from a few
> months ago, I have encoding issues when selecting accentuated text and
> inserting it using Shift + Inser, which I cannot figure out.
> 
> Say I write "éàé" in the terminal. It works fine. I can ^U/^Y it without
> any problem.
> 
> If I hilight it and insert it using Shift+Inser, I get encoding problems
> characters "���" (if I paste it in urxvt *or* in any other program).
> 
> If I write "éàé" in another program, hilight it and paste it in URxvt,
> it works.

urxvt does not perform a selection request for primary to the X server
if it owns it. Given that the issue occurs both when you request the
primary selection in urxvt itself and in a different program, the
problem might be in the libc, since the common part in the two cases is
the conversion of the selection from wide char encoding, assuming that
in the second case the selection is requested in COMPOUND_TEXT format.

Which system and urxvt version do you use? Try installing xclip and
posting the output of the following commands after creating the
selection:

xclip -o -t UTF8_STRING   | hexdump -C
xclip -o -t COMPOUND_TEXT | hexdump -C

Emanuele

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to