[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [idn] Why IDNA breaks copy-and-paste



We try to make sure that xterm preserves as much of the original UCS
plaintext that was sent to it as feasible for the purpose of cut&paste.
This is not achieved with high perfection yet in the current version,
for example xterm currently still converts tabs into spaces and drops
combining characters if there are more than two per base character. It
also drops most control characters, in particular it currently does not
preserve SGR. This is supposed to improve in the future, but cut&paste
will always remain a compromise hack in terminal emulator applications.
In particular, do not expect cut&paste to work in any satisfactory way
for bidi scripts in the foreseeable, but they are a hopeless can of
worms anyway for terminal emulators and probabaly should better only be
used with GUI applications in general.

http://www.cl.cam.ac.uk/~mgk25/unicode.html

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>