aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-11-12 04:55:23 +0000
committerBill Nottingham <notting@redhat.com>2002-11-12 04:55:23 +0000
commit20ae4196e1aae687e7adeb95f59f38cd7de85bf6 (patch)
treeeaa63bb0724d41234456495574eecc6612daf18f
parent034a7a6cc45ee0614a85c62b25f974fe3a3c013f (diff)
downloadinitscripts-20ae4196e1aae687e7adeb95f59f38cd7de85bf6.tar
initscripts-20ae4196e1aae687e7adeb95f59f38cd7de85bf6.tar.gz
initscripts-20ae4196e1aae687e7adeb95f59f38cd7de85bf6.tar.bz2
initscripts-20ae4196e1aae687e7adeb95f59f38cd7de85bf6.tar.xz
initscripts-20ae4196e1aae687e7adeb95f59f38cd7de85bf6.zip
fix lang.csh for CJK (#76908, <ynakai@redhat.com>)
-rwxr-xr-xlang.csh12
1 files changed, 10 insertions, 2 deletions
diff --git a/lang.csh b/lang.csh
index 277be79c..a22c12df 100755
--- a/lang.csh
+++ b/lang.csh
@@ -85,10 +85,18 @@ endif
if ($?LANG) then
switch ($LANG)
+ case ja*UTF-8:
+ case zh*UTF-8:
+ case ko*UTF-8:
+ set dspmbyte=utf8
+ breaksw
+ case zh_TW*:
+ set dspmbyte=big5
+ breaksw
case ja*:
- case zh*:
case ko*:
- set dspmpbyte=euc
+ case zh*:
+ set dspmbyte=euc
breaksw
endsw
endif