![]() |
Public API Reference |
#include "csunicode.h"
Go to the source code of this file.
Compounds | |
class | csUnicodeTransform |
Contains functions to convert between several UTF encodings. More... | |
Defines | |
#define | CS_UC_MAX_UTF8_ENCODED 6 |
An Unicode character encoded as UTF8 is at max encoded to this length. More... | |
#define | CS_UC_MAX_UTF16_ENCODED 2 |
An Unicode character encoded as UTF16 is at max encoded to this length. More... | |
#define | CS_UC_MAX_UTF32_ENCODED 1 |
An Unicode character encoded as UTF32 is at max encoded to this length. More... |
Definition in file csuctransform.h.
|
Value: if (bufRemaining > 0) \ { \ if(buf) *buf++ = chr; \ bufRemaining--; \ } \ encodedLen++; Definition at line 228 of file csuctransform.h. |
|
Value: { \ if (isValid) *isValid = false; \ ch = CS_UC_CHAR_REPLACER; \ return ret; \ } Definition at line 44 of file csuctransform.h. |
|
Value: if (chUsed == strlen) \ { \ FAIL(chUsed); \ } \ next = *str++; \ if (next == 0) \ { \ FAIL(chUsed); \ } \ chUsed++; Definition at line 55 of file csuctransform.h. |
|
Value: if (isValid) *isValid = true; \ return chUsed; Definition at line 51 of file csuctransform.h. |