Link to home
Start Free TrialLog in
Avatar of tberglund
tberglund

asked on

Reginal Settings

I running a Windows NT 4.0 and the Regional Settings are set to Swedish.
When I'm calling GetLocaleInfo to get the digit grouping symbol which is
a space character with ascii 32 it returns a space character but the
ascii is set to -96. Why ????. When the digit grouping symbol is set to
a comma it works just fine.

Here is the code:
char szThousandSymbol[10];
GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_STHOUSAND, (LPTSTR) szThousandSymbol, sizeof(szThousandSymbol));

Regards,
torbjorn.berglund@reterm.se
Avatar of AVaulin
AVaulin
Flag of Ukraine image

Did you check what value returned GetLocaleInfo?
ASKER CERTIFIED SOLUTION
Avatar of NickRepin
NickRepin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial