From 028c97436177229002c0ad6e642b79346ccfbca6 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 24 Jul 2002 21:27:14 +0000 Subject: oops, UTF-8 can have @euro --- lang.csh | 4 ++-- lang.sh | 2 +- rc.d/rc.sysinit | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lang.csh b/lang.csh index 48aec773..7865d108 100755 --- a/lang.csh +++ b/lang.csh @@ -61,8 +61,8 @@ if ($sourced == 1) then endif if ($?LANG) then switch ($LANG) - case *.utf8: - case *.UTF-8: + case *.utf8*: + case *.UTF-8*: if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( `/sbin/consoletype` == "vt" ) then diff --git a/lang.sh b/lang.sh index 877997ef..50dc9990 100755 --- a/lang.sh +++ b/lang.sh @@ -64,7 +64,7 @@ if [ "$sourced" = 1 ]; then fi if [ -n "$LANG" ]; then case $LANG in - *.utf8|*.UTF-8) + *.utf8*|*.UTF-8*) if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then unicode_start fi diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index baca24db..e96eb2a8 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -137,7 +137,7 @@ if [ "`/sbin/consoletype`" = "vt" -a -x /bin/loadkeys ]; then if [ -x /sbin/setsysfont ]; then [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n case "$LANG" in - *.utf8|*.UTF-8) + *.utf8*|*.UTF-8*) action $"Setting default font ($SYSFONT): " /bin/unicode_start $SYSFONT ;; *) -- cgit v1.2.1