> Date: Fri, 22 Dec 2006 12:24:43 +0100
> From: LENNART BORGMAN <[EMAIL PROTECTED]>
> Cc: Eli Zaretskii <[EMAIL PROTECTED]>
>
> From: Jason Rumney <[EMAIL PROTECTED]>
> Date: Friday, December 22, 2006 11:48 am
> Subject: Re: National Language Support Functions
>
> > Lennart Borgman wrote: I searched a bit to find out again how to
> > test this. It turns out to be a bit complicated if one wants to
> > support different versions of Windows. I suggest that we only
> > support later versions and then use GetUserDefaultUILanguage and
> > dito System variant. Here is some code to test:
> > >
> > So did you actually test it?
> >
> > What were your results?
>
> On the pc where I first noticed the problem I get:
>
> LangID = SYS: 0x41d, USR: 0x41d
> LCID = SYS: 0x41d, USR: 0x41d
> GetUserDefaultUILanguage() = 0409
> GetSystemDefaultUILanguage = 0409
>
> The last two lines is what I expected. This was the pc where I get the
> tutorial in Swedish. I think it would be very good if we fixed it. I guess
> the code in Emacs also can serve as an example for other developers trying to
> make the same thing.
>
> With LangID and LCID it seems more complicated probably because there are
> many ways to set up the different parts of the international and regional
> settings on a certain w32 pc.
>
> I will send more output later today. The last two lines always shows the
> right thing, but the output from the first two gives mixed results.
On my system, I get this from your program:
LangID = SYS: 0x40d, USR: 0x409
LCID = SYS: 0x40d, USR: 0x409
GetUserDefaultUILanguage() = 0409
GetSystemDefaultUILanguage = 0409
This is Windows XP SP2, with the following Regional Settings:
. In the Regional Options tab:
. In "Standard and formats": English (United States)
. In "Location": Israel
. In the Languages tab:
. Clicking on Details shows:
. In the Settings tab:
. Default input language: English (United States) - US
. In the Advanced tab:
. Every check box is unchecked
. In the Advanced tab:
. Language for non-Unicode programs: Hebrew
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug