diff options
author | Bill Nottingham <notting@redhat.com> | 2002-06-12 20:11:02 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-06-12 20:11:02 +0000 |
commit | ed7c4a3d43087c4ff3e3a4db8c54458d52d8476b (patch) | |
tree | c3bafb2b14ee546adf128ca7da7eadfedf41f034 | |
parent | 885552f95d8b1b138cf97bbf499a78801af3a676 (diff) | |
download | initscripts-ed7c4a3d43087c4ff3e3a4db8c54458d52d8476b.tar initscripts-ed7c4a3d43087c4ff3e3a4db8c54458d52d8476b.tar.gz initscripts-ed7c4a3d43087c4ff3e3a4db8c54458d52d8476b.tar.bz2 initscripts-ed7c4a3d43087c4ff3e3a4db8c54458d52d8476b.tar.xz initscripts-ed7c4a3d43087c4ff3e3a4db8c54458d52d8476b.zip |
fix UTF-8 checks
-rwxr-xr-x | lang.csh | 3 | ||||
-rwxr-xr-x | lang.sh | 2 | ||||
-rwxr-xr-x | setsysfont | 2 |
3 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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 @@ -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 |