From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: emacs-unicode-2: miscellaneous addendum for coding system gbk and gb18030 Date: Mon, 27 Nov 2006 14:58:29 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1164607095 11046 80.91.229.2 (27 Nov 2006 05:58:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2006 05:58:15 +0000 (UTC) Cc: id.brep@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 27 06:58:12 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GoZVD-0000a3-G2 for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2006 06:58:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GoZVD-0007jZ-3d for ged-emacs-devel@m.gmane.org; Mon, 27 Nov 2006 00:58:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GoZUu-0007iz-3A for emacs-devel@gnu.org; Mon, 27 Nov 2006 00:57:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GoZUq-0007iY-72 for emacs-devel@gnu.org; Mon, 27 Nov 2006 00:57:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GoZUq-0007iV-0B for emacs-devel@gnu.org; Mon, 27 Nov 2006 00:57:40 -0500 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GoZUo-0003by-Si; Mon, 27 Nov 2006 00:57:39 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id kAR5vW9O025442; Mon, 27 Nov 2006 14:57:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp4.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id kAR5vWmJ005306; Mon, 27 Nov 2006 14:57:32 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id kAR5vTZ1013818; Mon, 27 Nov 2006 14:57:31 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1GoZVd-0003yw-Sc; Mon, 27 Nov 2006 14:58:29 +0900 Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sun, 26 Nov 2006 21:34:43 -0500) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62832 Archived-At: In article , Richard Stallman 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 #include #include #include int main (int argc, char **argv) { setlocale (LC_ALL, ""); printf ("CODESET=%s\n", nl_langinfo (CODESET)); exit (0); }