Detailed Description

This class converts between the UTF-7 encoding and Unicode.

It has one predefined instance, wxConvUTF7.

Notice that, unlike all the other conversion objects, this converter is stateful, i.e. it remembers its state from the last call to its ToWChar() or FromWChar() and assumes it is called on the continuation of the same string when the same method is called again. This assumption is only made if an explicit length is specified as parameter to these functions as if an entire NUL terminated string is processed the state doesn't need to be remembered.

This also means that, unlike the other predefined conversion objects, wxConvUTF7 is not thread-safe.

This function returns 1 for most of the multibyte encodings in which the string is terminated by a single NUL, 2 for UTF-16 and 4 for UTF-32 for which the string is terminated with 2 and 4 NUL characters respectively. More...