emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-unicode-2: `locale-language-names' improvement on chinese locales


From: Zhang Wei
Subject: emacs-unicode-2: `locale-language-names' improvement on chinese locales
Date: Thu, 27 Oct 2005 13:22:58 +0800

According to the current `locale-language-names' variable,
no metter what locale is set for chinese, zh_CN.GB2312,
zh_CN.GBK or zh_CN.GB18030, the `current-language-environment'
variable will always be zh_CN.GB.

This could be improved by the following patch:

*** lisp/international/mule-cmds.el.~1.242.2.25.~       2005-09-26 
06:07:01.000000000 +0800
--- lisp/international/mule-cmds.el     2005-10-27 12:58:49.000000000 +0800
***************
*** 2208,2219 ****
      ; yo Yoruba
      ; za Zhuang
      ("zh_HK" . "Chinese-Big5")
      ("zh_TW" . "Chinese-Big5")
      ("zh_CN" . "Chinese-GB")
      ("zh" . "Chinese-GB")
-     ; zh_CN.GB18030/GB18030 \
-     ; zh_CN.GBK/GBK \
-     ; zh_HK/BIG5-HKSCS \
      ("zu" . "Latin-1") ; Zulu
  
      ;; ISO standard locales
--- 2208,2220 ----
      ; yo Yoruba
      ; za Zhuang
      ("zh_HK" . "Chinese-Big5")
+     ; zh_HK/BIG5-HKSCS \
      ("zh_TW" . "Chinese-Big5")
+     ("zh_CN.GB2312" "Chinese-GB")
+     ("zh_CN.GBK" "Chinese-GBK")
+     ("zh_CN.GB18030" "Chinese-GB18030")
      ("zh_CN" . "Chinese-GB")
      ("zh" . "Chinese-GB")
      ("zu" . "Latin-1") ; Zulu
  
      ;; ISO standard locales




reply via email to

[Prev in Thread] Current Thread [Next in Thread]