aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang.sh b/lang.sh
index 4980f9e1..fae662e8 100755
--- a/lang.sh
+++ b/lang.sh
@@ -62,6 +62,15 @@ if [ "$sourced" = 1 ]; then
;;
esac
fi
+ if [ -n "$LANG" ]; then
+ case $LANG in
+ *.utf8)
+ if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then
+ unicode_start
+ fi
+ ;;
+ esac
+ fi
unset SYSFONTACM SYSFONT
fi