Globalization
The provides functionality based on HCL® Informix® Global Language Support.
The ITLocale class, described in The ITLocale class, encapsulates the GLS API. It provides methods to perform locale-sensitive conversions between the text and binary forms of the date, time, numeric, and money data types. It also provides support for multibyte character strings and for quoted type names.
Call ITLocale::Current() to obtain a pointer to the current client locale and use ITLocale::ConvertCodeset() to convert data between the two code sets.
- Date/time, numeric, and money string formatting
- Error messages produced by the
- String operations such as Trim(), concatenation, and other operations
Client locale is established at the startup time of the application based on the value of the CLIENT_LOCALE environmental variable.
For more information, see the HCL® Informix® GLS User's Guide.