Use the EWL_C_LOCALE_ONLY macro to specify whether or not EWL provides only the "C" locale or the entire locale mechanism specified in the C99 (ISO/IEC 9899-1999) standard. When compiling a custom version of EWL with EWL_C_LOCALE_ONLY defined as 1, the library provides only the "C" locale. This configuration also reduces the sizes of the library's object code. If EWL_C_LOCALE_ONLY is defined as 0 the library conforms to the locale facilities described in the C99 specification.
When EWL_C_LOCALE_ONLY is defined as 0, the library uses the EWL_DEFAULT_LOCALE macro to determine which locale is in effect when target program starts. When compiling a custom version of EWL with EWL_DEFAULT_LOCALE defined as 0, the library starts with the "" locale. When defined as 1, the library starts with the "C" locale. When 2, the library starts with the "C-UTF-8" locale. The library ignores this option when EWL_C_LOCALE_ONLY is defined as 1.