Anthony J. Bentley wrote:
>Philippe Meunier writes:
>> - When the precompose resource is set to false, copy-pasting the result of
>>   printf "e\xcc\x81\n" never works correctly in xterm, regardless of
>>   whether I use TrueType fonts or not.  xterm copy-pastes the correct
>>   sequence of bytes but that sequence is not displayed correctly.  That's a
>>   bug in xterm.
>
>I get slightly different results: with TrueType fonts enabled, LC_CTYPE
>set to en_US.UTF-8, and precompose disabled, accents are not displayed,
>but they do copy and paste correctly. I tested this on a fresh install as
>well as my desktop. I haven't been able to trigger the results you're
>getting (best guess: your LC_CTYPE is unset or set funny? But I don't get
>the same results even then).

Strange.  I have:

$ set | egrep -i 'utf|xterm'
LC_CTYPE=en_US.UTF-8
TERM=xterm
XTERM_LOCALE=en_US.UTF-8
XTERM_SHELL=/bin/ksh
XTERM_VERSION='XTerm/OpenBSD(327)'

and even with just this:

$ xrdb -query
xterm*precompose:       false

and TrueType enabled, then accents are not displayed and copy-paste does
not work: I get an 'e' character followed by another character which is a
question mark inside a circle.

Philippe


Reply via email to