From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: National Language Support Functions Date: Tue, 26 Dec 2006 09:59:23 +0900 Message-ID: References: <458AB581.7090303@student.lu.se> <458AF7AC.5030500@student.lu.se> <458B2295.7010806@student.lu.se> NNTP-Posting-Host: dough.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 1167094685 15588 80.91.229.10 (26 Dec 2006 00:58:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Dec 2006 00:58:05 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Tue Dec 26 01:58:02 2006 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gz0dl-0008SW-Jg for gebp-emacs-pretest-bug@gmane.org; Tue, 26 Dec 2006 01:58:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gz0dl-0007xF-6n for gebp-emacs-pretest-bug@gmane.org; Mon, 25 Dec 2006 19:58:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gz0dc-0007vU-Da for emacs-pretest-bug@gnu.org; Mon, 25 Dec 2006 19:57:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gz0dX-0007tg-Bn for emacs-pretest-bug@gnu.org; Mon, 25 Dec 2006 19:57:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gz0dX-0007td-7D; Mon, 25 Dec 2006 19:57:47 -0500 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gz0dT-0003mf-AL; Mon, 25 Dec 2006 19:57:43 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id kBQ0vcRs029941; Tue, 26 Dec 2006 09:57:39 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id kBQ0vbhf014487; Tue, 26 Dec 2006 09:57:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id kBQ0vaSF014939; Tue, 26 Dec 2006 09:57:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1Gz0f5-0001O3-8L; Tue, 26 Dec 2006 09:59:23 +0900 Original-To: Eli Zaretskii In-reply-to: (message from Eli Zaretskii on Mon, 25 Dec 2006 22:47:25 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.92 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:16159 gmane.emacs.devel:64274 Archived-At: In article , Eli Zaretskii writes: > Try passing the -mno-cygwin switch to GCC. Ah. Thank you. This is the result. Program1: SYS: 0x411, USR: 0x411 Program2: LangID = SYS: 0x411, USR: 0x411 LCID = SYS: 0x411, USR: 0x411 GetUserDefaultUILanguage() = 0411 GetSystemDefaultUILanguage = 0411 This is Windows XP SP2, with the following Regional Settings (translated from Japanase): . In the Regional Options tab: . In "Standard and formats": Japanese . In "Location": Japan . In the Languages tab: . Clicking on Details shows: . In the Settings tab: . Default input language: Japanese - Microsoft Input 2003 . In the Advanced tab: . Every check box is unchecked . In the Advanced tab: . Language for non-Unicode programs: Japanese But, when I change "Language for non-Unicode programs" to Chinese (China), and reboot the system, the result of the programs changed as this: Program1: SYS: 0x804, USR: 0x411 Program2: LangID = SYS: 0x805, USR: 0x411 LCID = SYS: 0x411, USR: 0x411 GetUserDefaultUILanguage() = 0411 GetSystemDefaultUILanguage = 0411 --- Kenichi Handa handa@m17n.org