[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in Xterm (XFree86 4.0.3, RH 7.1)
Oops! Bug in xterm version "XFree86 4.0.1h(149)" (as shipping with
RH 7.1 and XFree86 4.0.3):
While xterm is in in UTF-8 mode (activated by "LANG=en_GB.UTF-8 xterm"),
execution of the command
perl -e 'print "\x1b(0";'
causes the G0 characters to be replaced with the DEC graphics
characters. This should definitely not be possible in UTF-8 mode (and
that's the reason why UTF-8 is called stateless). Apparently the the ISO
2022 sequences are not disabled in UTF-8 mode. :-( All of ISO 2022
switching is incompatible with UTF-8 and has to be deactivated in UTF-8
mode.
http://www.cl.cam.ac.uk/~mgk25/unicode.html#term
Markus
--
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org, WWW: <http://www.cl.cam.ac.uk/~mgk25/>
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/