ucommon
|
Basic UCommon Unicode support. More...
#include <ucommon/string.h>
Go to the source code of this file.
Data Structures | |
class | UString |
A copy-on-write utf8 string class that operates by reference count. More... | |
class | utf8 |
A core class of ut8 encoded string functions. More... | |
class | utf8_pointer |
Pointer to utf8 encoded character data. More... | |
Typedefs | |
typedef int16_t | ucs2_t |
16 bit unicode character code. | |
typedef void * | unicode_t |
Resolves issues where wchar_t is not defined. | |
typedef UString | ustring_t |
Convenience type for utf8 encoded strings. | |
typedef utf8_pointer | utf8_t |
Convenience type for utf8_pointer strings. | |
Variables | |
NAMESPACE_UCOMMON typedef int32_t | ucs4_t |
32 bit unicode character code. |
Basic UCommon Unicode support.
This includes computing unicode transcoding and supporting a UTF8-aware string class (UString). We may add support for a wchar_t aware string class as well, as some external api libraries may require ucs-2 or 4 encoded strings.
Definition in file unicode.h.
typedef int16_t ucs2_t |