all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs-unicode-2: `locale-language-names' improvement on chinese locales
@ 2005-10-27  5:22 Zhang Wei
  2005-10-27  6:31 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Wei @ 2005-10-27  5:22 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs-unicode-2: `locale-language-names' improvement on chinese locales
  2005-10-27  5:22 emacs-unicode-2: `locale-language-names' improvement on chinese locales Zhang Wei
@ 2005-10-27  6:31 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2005-10-27  6:31 UTC (permalink / raw)
  Cc: emacs-pretest-bug, emacs-devel

In article <87hdb3ile5.fsf@gmail.com>, Zhang Wei <id.brep@gmail.com> writes:

> 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:

Thank you.  I've just installed your change.

---
Kenichi Handa
handa@m17n.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-27  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-27  5:22 emacs-unicode-2: `locale-language-names' improvement on chinese locales Zhang Wei
2005-10-27  6:31 ` Kenichi Handa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.