From ed7c4a3d43087c4ff3e3a4db8c54458d52d8476b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 12 Jun 2002 20:11:02 +0000 Subject: fix UTF-8 checks --- lang.csh | 3 ++- lang.sh | 2 +- setsysfont | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lang.csh b/lang.csh index 999b5c04..48aec773 100755 --- a/lang.csh +++ b/lang.csh @@ -61,7 +61,8 @@ if ($sourced == 1) then endif if ($?LANG) then switch ($LANG) - case *.utf8; + 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 fae662e8..877997ef 100755 --- a/lang.sh +++ b/lang.sh @@ -64,7 +64,7 @@ if [ "$sourced" = 1 ]; then fi if [ -n "$LANG" ]; then case $LANG in - *.utf8) + *.utf8|*.UTF-8) if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then unicode_start fi diff --git a/setsysfont b/setsysfont index 17b9655f..afa14a81 100755 --- a/setsysfont +++ b/setsysfont @@ -8,7 +8,7 @@ fi if [ -n "$LANG" ]; then case $LANG in - *.utf8) + *.utf8|*.UTF-8) if [ -n "$SYSFONT" ]; then if [ -n "$SYSFONTACM" ]; then unicode_start $SYSFONT $SYSFONTACM -- cgit v1.2.1