aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlang.csh3
-rwxr-xr-xlang.sh2
-rwxr-xr-xsetsysfont2
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