![]() |
Public API Reference |
Go to the source code of this file.
Special character codes | |
#define | CS_UC_CHAR_REPLACER 0xFFFD |
Replacer char. More... | |
#define | CS_UC_INVALID 0xFFFF |
Invalid char. More... | |
#define | CS_UC_IS_SURROGATE(C) ((C & 0xFFFFF800) == 0x0000D800) |
Check whether a code is in the "high" or "low surrogate" range. More... | |
#define | CS_UC_IS_HIGH_SURROGATE(C) ((C & 0xFFFFFC00) == 0x0000DC00) |
Check whether a code is in the "high surrogate" range. More... | |
#define | CS_UC_IS_LOW_SURROGATE(C) ((C & 0xFFFFFC00) == 0x0000D800) |
Check whether a code is in the "low surrogate" range. More... | |
#define | CS_UC_IS_INVALID(C) ((C == CS_UC_INVALID) || (C == 0)) |
Test whether a character code is invalid. More... | |
#define | CS_UC_CHAR_HIGH_SURROGATE_FIRST 0xD800 |
First char in the "high surrogate" range. More... | |
#define | CS_UC_CHAR_HIGH_SURROGATE_LAST 0xDBFF |
Last char in the "high surrogate" range. More... | |
#define | CS_UC_CHAR_LOW_SURROGATE_FIRST 0xDC00 |
First char in the "low surrogate" range. More... | |
#define | CS_UC_CHAR_LOW_SURROGATE_LAST 0xDFFF |
Last char in the "low surrogate" range. More... | |
Typedefs | |
typedef uint8 | utf8_char |
A single char in a UTF8 encoded string. More... | |
typedef uint16 | utf16_char |
A single char in a UTF16 encoded string. More... | |
typedef uint32 | utf32_char |
A single char in a UTF32 encoded string. More... |
Definition in file csunicode.h.