#include <UnicodeConverter.h>
|
static u32 | DecodeUtf8Character (const char *text, size_t bufferSize, int pos, int *nextPos) |
|
static void | Utf8ToUtf32 (const std::string &textUtf8, std::vector< u32 > &out_textUtf32) |
|
static void | Utf8ToUtf32 (const char *textStr, int textLength, std::vector< u32 > &out_textUtf32) |
|
Helper methods for decoding Utf8 byte streams to Utf32 codepoints
u32 Eegeo::Unicode::UnicodeConverter::DecodeUtf8Character |
( |
const char * |
text, |
|
|
size_t |
bufferSize, |
|
|
int |
pos, |
|
|
int * |
nextPos |
|
) |
| |
|
static |
- Deprecated:
- For legacy app support. New apps should use Eegeo::Utf8::Next / Eegeo::Utf8::PeekNext
void Eegeo::Unicode::UnicodeConverter::Utf8ToUtf32 |
( |
const std::string & |
textUtf8, |
|
|
std::vector< u32 > & |
out_textUtf32 |
|
) |
| |
|
static |
Converts a Utf-8 input string to Utf-32. Invalid octet sequences or invalid characters are replaced with U+FFFD
- Parameters
-
textUtf8 | input Utf-8 character sequence |
out_textUtf32 | output vector populated with resulting Utf-32 sequence |
void Eegeo::Unicode::UnicodeConverter::Utf8ToUtf32 |
( |
const char * |
textStr, |
|
|
int |
textLength, |
|
|
std::vector< u32 > & |
out_textUtf32 |
|
) |
| |
|
static |
Converts a Utf-8 input string to Utf-32. Invalid octet sequences or invalid characters are replaced with U+FFFD
- Parameters
-
textStr | input Utf-8 character sequence buffer |
textLength | size in bytes of textUtf8 buffer |
out_textUtf32 | output vector populated with resulting Utf-32 sequence |
The documentation for this class was generated from the following files: