aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlang.csh4
-rwxr-xr-xlang.sh2
-rwxr-xr-xrc.d/rc.sysinit2
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
;;
*)