#include "BALBase.h"
#include "Unicode.h"
Namespaces | |
| namespace | WTF |
| namespace | WTF::Unicode |
Enumerations | |
| enum | WTF::Unicode::ConversionResult { WTF::Unicode::conversionOK, WTF::Unicode::sourceExhausted, WTF::Unicode::targetExhausted, WTF::Unicode::sourceIllegal } |
Functions | |
| int | WTF::Unicode::UTF8SequenceLength (char) |
| Given a first byte, gives the length of the UTF-8 sequence it begins. | |
| int | WTF::Unicode::decodeUTF8Sequence (const char *) |
| Takes a null-terminated C-style string with a UTF-8 sequence in it and converts it to a character. | |
| ConversionResult | WTF::Unicode::convertUTF8ToUTF16 (const char **sourceStart, const char *sourceEnd, UChar **targetStart, UChar *targetEnd, bool strict=true) |
| These conversion functions take a "strict" argument. | |
| ConversionResult | WTF::Unicode::convertUTF16ToUTF8 (const UChar **sourceStart, const UChar *sourceEnd, char **targetStart, char *targetEnd, bool strict=true) |
| convertUTF16ToUTF8 | |