• Adam Tlalka's avatar
    [PATCH] console utf-8 mode fixes · d4328b40
    Adam Tlalka authored
    Fix utf-8 mode so alternate charset modes always work according to control
    sequences interpreted in do_con_trol function preserving backward US-ASCII
    and VT100 semigraphics compatibility.
    
    Malformed utf-8 sequences are represented as sequences of replacement
    glyphs,original codes or '?' as a last resort.
    
    unicode-xterm, gnome-terminal, kconsole and other terminal emulators in
    utf-8 mode respect acsc, enacs, rmacs sequences.  Also I found that some
    important system programs (from Debian distro) uses acsc in utf-8 mode -
    dselect, aptitude, w3m for example.
    Signed-off-by: default avatarAdam Tlalka <atlka@pg.gda.pl>
    Acked-by: default avatarAlan Cox <alan@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    d4328b40
vt.c 89.9 KB