[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cut from xterm (iso-8859-{2,15}) and paste into buffer
From: |
Karl Eichwalder |
Subject: |
Re: Cut from xterm (iso-8859-{2,15}) and paste into buffer |
Date: |
Sat, 17 Nov 2001 10:53:14 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) |
"Eli Zaretskii" <eliz@is.elta.co.il> writes:
> What is your value of selection-coding-system in that session?
"compound-text"; selecting "iso-8859-2" solves the problem.
>> Another problem is to paste from an iso-8859-15 xterm into an
>> iso-8859-15 (Latin-9) enabled buffer. 8bit characters are obeyed but
>> "prefixed" with encoding information:
>>
>> ^[%/1\200\214iso8859-15^B("o)
>> ^^ ^^^^^^^^ ^^
>> All parts marked with "^^" are transliterated by me
>
> Same question as above.
Also "compound-text", but it does not help to say:
C-x RET x iso-8859-15 RET
> Do you happen to know what exactly does Emacs get as the raw string
> from the X selection, before it decodes it?
I set it to "raw-text" and Emacs sees:
%/1iso8859-15ö
Sorry, I'm not familiar with debuggers.
> The reason I'm asking is that some X programs are known to produce
> invalid strings in selections; Emacs uses strict adherence to the
> standard, and thus doesn't cope well with those cases.
The other X program involved is xterm.
--
ke@suse.de (work) / keichwa@gmx.net (home): |
http://www.suse.de/~ke/ | ,__o
Free Translation Project: | _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)