- Method setlocale
int setlocale(int category, string locale)
The setlocale() function is used to set the program's current locale. If locale is "C" or "POSIX", the current locale is set to the portable locale.
If locale is "", the locale is set to the default locale which is selected from the environment variable LANG.
Returns 1 if the locale setting successed, 0 for failure
- See also