CsString
1.4.1
|
The CsBasicString class is a templated class which provides Unicode aware string support. The requested character encoding is passed to the CsBasicString template.
The encoding for a CsString is UTF-8. The following typedefs are provided for convenience.
Other encodings can be added to this library and the source code for the encoding should be located in the cs_encoding.h header file.
A CsBasicString consists of a sequence of code points where each one is represented by a single 32-bit CsChar.
The CsString library was developed to handle Unicode text processing. The C++ STL string classes are missing encoding support. CsString was designed to allowing for the expansion of any encoding without having to write a new string library.
The CsString class is used in the CopperSpice Core library to implement Unicode aware string support. The new classes are called QString8 and QString16. For more information about Copperspice refer to the overview and API documentation.