Subject: Help with setlocale (3)
To: None <netbsd-help@netbsd.org>
From: Mike Cheponis <mac@Wireless.Com>
List: netbsd-help
Date: 05/21/1999 00:17:45
Hi,
I'm using localeconv(3) to get these values in struct lconv:
char *decimal_point;
char *thousands_sep;
char *grouping;
It's easy enough to retrieve these values using localeconv() but how does
one -set- these value?
My main interest is having a system-wide place that holds the decimal_point,
thousands_separator, and the digit grouping for different countries.
For example, in the US, the decimal point is '.' the thousands_sep is ','
and the grouping is 0x03 0x00.
Currently, when you look at these values returned by localeconv(),
decimal_point is "." but thousands_sep is "" and so is grouping.
Again, is there some standard way to set these values?
Thanks! -Mike