From 1c7bb9d0af3934db9d2761c64ae8745f999ac4dd Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 18 Oct 2006 16:36:43 +0000 Subject: blacklist CJKI on the virtual console (#209579) --- lang.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lang.sh') diff --git a/lang.sh b/lang.sh index 19bf9158..7c0332b2 100755 --- a/lang.sh +++ b/lang.sh @@ -65,6 +65,13 @@ if [ "$sourced" = 1 ]; then *.utf8*|*.UTF-8*) if [ "$TERM" = "linux" ]; then if [ "$consoletype" = "vt" ]; then + case $LANG in + ja*) LANG=en_US.UTF-8 ;; + ko*) LANG=en_US.UTF-8 ;; + zh*) LANG=en_US.UTF-8 ;; + en_IN*) ;; + *_IN*) LANG=en_US.UTF-8 ;; + esac [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start $SYSFONT $SYSFONTACM fi fi @@ -72,6 +79,13 @@ if [ "$sourced" = 1 ]; then *) if [ "$TERM" = "linux" ]; then if [ "$consoletype" = "vt" ]; then + case $LANG in + ja*) LANG=en_US ;; + ko*) LANG=en_US ;; + zh*) LANG=en_US ;; + en_IN*) ;; + *_IN*) LANG=en_US ;; + esac [ -x /bin/unicode_stop ] && /sbin/consoletype fg && /bin/unicode_stop fi fi -- cgit