UCommon
Data Structures | Namespaces | Typedefs
ucommon/unicode.h File Reference

Basic UCommon Unicode support. More...

#include <ucommon/string.h>
Include dependency graph for unicode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ucc::UString
 A copy-on-write utf8 string class that operates by reference count. More...
class  ucc::utf8
 A core class of ut8 encoded string functions. More...
class  ucc::utf8_pointer
 Pointer to utf8 encoded character data. More...

Namespaces

namespace  ucc
 

Common namespace for all ucommon objects.


Typedefs

typedef int16_t ucc::ucs2_t
 16 bit unicode character code.
typedef int32_t ucc::ucs4_t
 32 bit unicode character code.
typedef void * ucc::unicode_t
 Resolves issues where wchar_t is not defined.
typedef UString ucc::ustring_t
 Convenience type for utf8 encoded strings.
typedef utf8_pointer ucc::utf8_t
 Convenience type for utf8_pointer strings.

Detailed Description

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.