emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: National Language Support Functions


From: Kenichi Handa
Subject: Re: National Language Support Functions
Date: Tue, 26 Dec 2006 09:59:23 +0900
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)

In article <address@hidden>, Eli Zaretskii <address@hidden> 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
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]