Text types

This document describes the Text data types.

TText represents a character in the natural character width for the Symbian platform build. For Unicode builds, (i.e. from v5.1 onwards) this is 16 bits. For non-Unicode builds, this is 8 bits.

TText8 is always available for build-independent 8-bit characters, and TText16 is always available for build-independent 16-bit characters. TText is mapped onto either of these types, depending on the build.

TText types are implemented as TUint s of the appropriate size. TText should be used for representing characters, as a reminder to the programmer.

The TChar class wraps a character value and provides a number of utility functions to manipulate it and to test its properties, such as converting the character to uppercase and testing whether it’s a control character.