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

Re: xterm utf8controls



Markus Kuhn wröte:

: In patch #109 of xterm, we find in the changelog
: 
:   - add utf8controls resource to specify whether xterm should interpret 16-bit
:     characters unpacked from UTF-8 form as control characters if they happen
:     to fall into that range. This behavior is left unspecified by the Unicode
:     standard (request by Thomas Wolff).
: 
: This is an example of an unnecessary option that will just confuse
: users by bloating the space of configuration options.
: 
: The idea behind this modification is sound: xterm should reject any
: overlong UTF-8 sequence. There is no need to make this configurable. A
: correct encoder is not allowed to encode LF as a 6-byte sequence, and
: xterm should not interpret any byte sequence as LF apart from 0x0a.

That's exactly what I had requested (xterm's previous behaviour had been 
to interpret multi-byte control codes).
I assume Thomas Dickey took the sure side with an option with respect to 
not finding a unique specification and as he made the "sound" 
behaviour the default, I think, it's alright.

Thomas Wolff
towo@computer.org
http://www.inf.fu-berlin.de/~wolff/mined-utf.html
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/