From 29ab1c774b9b615c3d5c6f8cd801a2d6fa531d78 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 18 Oct 2006 16:35:40 +0000 Subject: blacklist CJKI on the virtual console (#120819) --- lang.csh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'lang.csh') diff --git a/lang.csh b/lang.csh index 4c815d30..25d59f0c 100755 --- a/lang.csh +++ b/lang.csh @@ -71,6 +71,16 @@ if ($sourced == 1) then if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( "$consoletype" == "vt" ) then + switch ($LANG) + case en_IN*: + breaksw + case ja*: + case ko*: + case zh*: + case *_IN*: + setenv LANG en_US.UTF-8 + breaksw + endsw if ( -x /bin/unicode_start ) then if { /sbin/consoletype fg } then if ( $?SYSFONT ) then @@ -90,6 +100,16 @@ if ($sourced == 1) then if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( "$consoletype" == "vt" ) then + switch ($LANG) + case en_IN*: + breaksw + case ja*: + case ko*: + case zh*: + case *_IN*: + setenv LANG en_US + breaksw + endsw if ( -x /bin/unicode_stop ) then if { /sbin/consoletype fg } then /bin/unicode_stop -- cgit v1.2.1