Friday, December 01, 2017

Re: xterm(1) changing UTF-8 characters when copy-pasting?

Philippe Meunier <meunier@ccs.neu.edu> writes:

> - Allan probably did his tests with the precompose resource set to its
> default true value.

I assume this is correct because I have never deliberately changed it.

And you're right after all.

$ printf "e\xcc\x81\n" | od -a
0000000 e cc 81 nl

$ printf "e\xcc\x81\n"
é

^ copy/pasting: $ echo "é" | od -a
0000000 c3 a9 nl

Allan

No comments:

Post a Comment