String Formats

IText provides full interoperability with the char-based string formats char* and IString, allowing you to:

This figure shows the IText interfaces supporting compatibility with other string formats:

IText uses the transcoding facility provided by the International Framework to convert data between char and Unicode data. IText assumes the char-based format is the default character encoding set for the host. This varies based on the platform and any locale settings for the system.

String Size and Capacity

IText follows the ANSI convention of using size_t (generally equivalent to unsigned long) to represent text lengths and offsets. IText defines two typedefs equivalent to size_t:

This figure shows the IText functions you use to access the string's size and the storage capacity of the object: