On Sun, Mar 04, 2001 at 08:27:37PM +0200, Marius Gedminas wrote:
> rxvt has a problem with 8-bit characters in selections. If I select a
> text containing some 8-bit characters in an xterm and paste it in
> another xterm or rxvt, I get all the text. However if I select a text
> containing some 8-bit characters in rxvt and paste it in another rxvt or
> xterm, all 8-bit characters are lost.
Additional information: I'm using ISO-8859-13 character set which
complicates things a bit. Let's say the text is `a�' ("a\360").
rxvt (2.7.5-CVS) selection:
STRING: "a"
TEXT: "a\033%/1\200\213iso8859-13\2p"
COMPOUND_TEXT: (same)
xterm (XFree86 4.0(131) without utf-8 support) selection:
STRING "a�"
TEXT "a�"
COMPOUND_TEXT "a\033%/1\200\213iso8859-13\2p"
Now, is STRING supposed to be in local charset or should it always be
Latin-1? It looks like most applications only use STRING for paste
operations, so rxvt's behavior is not very useful even if it is correct.
(BTW I tried to compilie rxvt with --enable-languages so it would use
COMPOUND_TEXT instead of string for pasting. But that gives me Chinese
characters instead of iso-8859-13.)
Marius Gedminas
--
Never trust a smiling Gates.