From: Zhang Wei <id.brep@gmail.com>
Subject: Re: emacs-unicode-2: miscellaneous addendum for coding system gbk and gb18030
Date: Mon, 27 Nov 2006 14:25:34 +0800 [thread overview]
Message-ID: <uu00lh0dd.fsf@gmail.com> (raw)
In-Reply-To: <E1GoZVd-0003yw-Sc@etlken.m17n.org> (Kenichi Handa's message of "Mon\, 27 Nov 2006 14\:58\:29 +0900")
Kenichi Handa <handa@m17n.org> writes:
[...]
> Are you sure that those changes are correct? The attached
> program (when invoked under zh_CN locale prints this.
>
> CODESET=GB2312
>
> Doesn't it mean that we should be in Chinese-GB
> lang. env. under zh_CN locale?
I just checked the locale.alias file, zh_CN is an alias of zh_CN.GB2312,
so the patch is not quite safe, my original purpose is set lang. env. to
Chinese-GB under zh_CN.UTF-8, so may be we should do this:
--- orig/lisp/international/mule-cmds.el
+++ mod/lisp/international/mule-cmds.el
@@ -2262,8 +2262,8 @@
("zh_CN.GB2312" "Chinese-GB")
("zh_CN.GBK" "Chinese-GBK")
("zh_CN.GB18030" "Chinese-GB18030")
+ ("zh_CN.UTF-8" . "Chinese-GBK")
("zh_CN" . "Chinese-GB")
("zh" . "Chinese-GB")
("zu" . "Latin-1") ; Zulu
;; ISO standard locales
@@ -2281,7 +2281,7 @@
("sp" . "Cyrillic-ISO") ; Serbian (Cyrillic alphabet), e.g. X11R6.4
("su" . "Latin-1") ; Finnish, e.g. Solaris 2.6
("jp" . "Japanese") ; e.g. MS Windows
- ("chs" . "Chinese-GB") ; MS Windows Chinese Simplified
+ ("chs" . "Chinese-GBK") ; MS Windows Chinese Simplified
("cht" . "Chinese-BIG5") ; MS Windows Chinese Traditional
("gbz" . "UTF-8") ; MS Windows Dari Persian
("div" . "UTF-8") ; MS Windows Divehi (Maldives)
next prev parent reply other threads:[~2006-11-27 6:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 18:51 emacs-unicode-2: miscellaneous addendum for coding system gbk and gb18030 Zhang Wei
2006-11-24 19:31 ` Leo
2006-11-26 3:02 ` Kenichi Handa
2006-11-26 7:34 ` Zhang Wei
2006-11-27 2:34 ` Richard Stallman
2006-11-27 5:58 ` Kenichi Handa
2006-11-27 6:25 ` Zhang Wei [this message]
2006-11-27 7:02 ` Zhang Wei
2006-11-27 7:41 ` Kenichi Handa
2006-11-27 7:43 ` Zhang Wei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uu00lh0dd.fsf@gmail.com \
--to=id.brep@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.