Less and less to do with Unicode all the time.... :-) Not sure what you mean by "default country" in this context.
If you mean the default user locale, you can use the GetUserDefaultLCID or GetUserDefaultLangID API. If you mean the "Location" (Windows XP/Me), you can use the GetUserGeoID API. If you mean neither, then please explain what you mean. For more info on available NLS APIs under Windows, see: http://msdn.microsoft.com/library/en-us/intl/nls_8d0z.asp MichKa Michael Kaplan Trigeminal Software, Inc. -- http://www.trigeminal.com/ ----- Original Message ----- From: "Frank Wang" <[EMAIL PROTECTED]> To: "Michael (michka) Kaplan" <[EMAIL PROTECTED]>; "Unicode List" <[EMAIL PROTECTED]> Sent: Sunday, June 23, 2002 12:00 AM Subject: Re: Chinese Windows > a related question: is there a way to determine which default country user > has chosen in the WIndows(all versions)? thanks > ----- Original Message ----- > From: "Michael (michka) Kaplan" <[EMAIL PROTECTED]> > To: "Frank Wang" <[EMAIL PROTECTED]>; "Unicode List" > <[EMAIL PROTECTED]> > Sent: Sunday, June 23, 2002 2:30 PM > Subject: Re: Chinese Windows > > > > Well, GetACP() will return the default system code page -- 936, 950, or > 932, > > respectively. > > > > > > MichKa > > > > Michael Kaplan > > Trigeminal Software, Inc. -- http://www.trigeminal.com/ > > > > ----- Original Message ----- > > From: "Frank Wang" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, June 22, 2002 11:10 PM > > Subject: Chinese Windows > > > > > > > Hi, > > > > > > Is there a way to determine the type of Windows in a program is one > of > > > following: > > > > > > 1) Windows 95/98/ME Chinese GB version > > > 2) Windows 95/98/ME Chinese Big5 version > > > 3) WIndows 95/98/ME Japanese version > > > > > > Thanks. > > > > > > Frank > > > > > > > > > > > > > > > > >