• A
    [PATCH] console utf-8 mode fixes · d4328b40
    Adam Tlalka 提交于
    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: NAdam Tlalka <atlka@pg.gda.pl>
    Acked-by: NAlan Cox <alan@redhat.com>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    d4328b40
vt.c 89.9 KB