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

Re: ncurses or slang [Re: UTF-8 support status.]



Followup to:  <E16XRnP-0003qw-00@xxxxxxxxxxxxxxxxxxxx>
By author:    Markus Kuhn <Markus.Kuhn@xxxxxxxxxxxx>
In newsgroup: linux.utf8
> 
> When I execute in the UTF-8-mode xterm [XFree86 4.0.1h(149)] of Red Hat
> 7.1 in a shell the line
> 
>   printf '\x1b(0'
> 
> then xterm changes the Unicode values U+0020 to U+007E to the DEC
> graphics character set, even though it is supposed to ignore ISO 2022
> sequences while being in UTF-8 mode, because UTF-8 is one of the
> "encodings outside ISO 2022" in the sense of ISO 2022.
> 

Technically it's an "encoding outside ISO 2022 with standard return",
which means <ESC> % @ is supposed to return it to ISO 2022 mode.

	-hpa
-- 
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@xxxxxxxxx>
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/