From: Kenichi Handa <handa@m17n.org>
Cc: id.brep@gmail.com, emacs-devel@gnu.org
Subject: Re: emacs-unicode-2: miscellaneous addendum for coding system gbk and gb18030
Date: Mon, 27 Nov 2006 14:58:29 +0900 [thread overview]
Message-ID: <E1GoZVd-0003yw-Sc@etlken.m17n.org> (raw)
In-Reply-To: <E1GoWKR-0002Z6-C6@fencepost.gnu.org> (message from Richard Stallman on Sun, 26 Nov 2006 21:34:43 -0500)
In article <E1GoWKR-0002Z6-C6@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes:
> Zhang Wei has signed an assignment for future changes.
Ok. I've installed all changes except for the one for
mule-cmds.el.
--- 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" . "Chinese-GB")
- ("zh" . "Chinese-GB")
+ ("zh_CN" . "Chinese-GBK")
+ ("zh" . "Chinese-GBK")
("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)
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?
---
Kenichi Handa
handa@m17n.org
------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <langinfo.h>
int
main (int argc, char **argv)
{
setlocale (LC_ALL, "");
printf ("CODESET=%s\n", nl_langinfo (CODESET));
exit (0);
}
next prev parent reply other threads:[~2006-11-27 5:58 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 [this message]
2006-11-27 6:25 ` Zhang Wei
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=E1GoZVd-0003yw-Sc@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=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.