The setlocale() function is used to change
or query part or all of the current locale. The effect of the category argument
for each value is:
LC_COLLATEAffects the behavior of strcoll().
LC_CTYPEAffects
the behavior of the character handling functions.
LC_MONETARYAffects the monetary formatting information returned by localeconv().
LC_NUMERICAffects the decimal-point character for the formatted input/output functions
and the string conversion functions and the numeric formatting information
returned by localeconv().
LC_TIMECan
affect the behavior of strftime(). For currently
supported locales, the option has no effect.
LC_ALLAffects
all locale categories. This is the bitwise OR of all the locale categories.
A value of "C" for locale specifies
the minimal environment for C translation. An empty string, "",
for locale specifies the implementation-defined
native environment. At program startup, the equivalent of setlocale(LC_ALL,
"C") is executed.
Valid locale values
depend on which __use_X_ctype symbols
are imported (__use_iso8859_ctype, __use_sjis_ctype, __use_utf8_ctypte),
and on user-defined locales.