From 512bc70077e4d9589b91c3499c453e1e3f44f2db Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 14 Jan 2003 00:08:16 +0000 Subject: fix CJK text on the console --- rc.d/init.d/functions | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index c762275c..bd470a09 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -23,10 +23,12 @@ if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" ] ; then . /etc/sysconfig/i18n if [ "$CONSOLETYPE" != "pty" ]; then case "${LANG:-}" in - ja_JP.eucJP|ko_KR.eucKR|zh_CN.GB2312|zh_TW.Big5|zh_CN.GB18030) - unset LANG;; + ja_JP.*|ko_KR.*|zh_CN.*) + export LC_MESSAGES=en_US + ;; *) export LANG + ;; esac else export LANG -- cgit v1.2.1