#include "OW_config.h"#include "OW_Types.hpp"#include "OW_ArrayFwd.hpp"#include "OW_Exception.hpp"#include "OW_CommonFwd.hpp"Include dependency graph for OW_UTF8Utils.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | OW_NAMESPACE |
| namespace | OW_NAMESPACE::UTF8Utils |
Classes | |
| class | OW_NAMESPACE::InvalidUTF8Exception |
Functions | |
| size_t | OW_NAMESPACE::UTF8Utils::charCount (const char *utf8str) |
| Count the number of UTF-8 chars in the string. | |
| UInt16 | OW_NAMESPACE::UTF8Utils::UTF8toUCS2 (const char *utf8char) |
| Convert one UTF-8 char (possibly multiple bytes) into a UCS2 16-bit char. | |
| String | OW_NAMESPACE::UTF8Utils::UCS2toUTF8 (UInt16 ucs2char) |
| Convert one UCS2 16-bit char into a UTF-8 char (possibly multiple bytes). | |
| UInt32 | OW_NAMESPACE::UTF8Utils::UTF8toUCS4 (const char *utf8char) |
| Convert one UTF-8 char (possibly multiple bytes) into a UCS4 32-bit char. | |
| String | OW_NAMESPACE::UTF8Utils::UCS4toUTF8 (UInt32 ucs4char) |
| Convert one UCS4 32-bit char into a UTF-8 char (possibly multiple bytes). | |
| void | OW_NAMESPACE::UTF8Utils::UCS4toUTF8 (UInt32 ucs4char, StringBuffer &sb) |
| Convert one UCS4 32-bit char into a UTF-8 char (possibly multiple bytes) This version is faster to use in a loop than the version which returns a String. | |
| int | OW_NAMESPACE::UTF8Utils::compareToIgnoreCase (const char *str1, const char *str2) |
| Compares 2 UTF-8 strings, ignoring any case differences as defined by the Unicode spec CaseFolding.txt file. | |
| Array< UInt16 > | OW_NAMESPACE::UTF8Utils::StringToUCS2 (const String &input) |
| Convert a UTF-8 (or ASCII) string into a UCS2 string. | |
| Array< UInt16 > | OW_NAMESPACE::UTF8Utils::StringToUCS2ReplaceInvalid (const String &input) |
| Convert a UTF-8 (or ASCII) string into a UCS2 string. | |
| String | OW_NAMESPACE::UTF8Utils::UCS2ToString (const Array< UInt16 > &input) |
| Convert a UCS2 string into a UTF-8 (or ASCII) string. | |
| String | OW_NAMESPACE::UTF8Utils::UCS2ToString (const Array< char > &input) |
| Convert a UCS2 string into a UTF-8 (or ASCII) string. | |
| String | OW_NAMESPACE::UTF8Utils::UCS2ToString (const void *input, size_t inputLength) |
| Convert a UCS2 string into a UTF-8 (or ASCII) string. | |
| bool | OW_NAMESPACE::UTF8Utils::toUpperCaseInPlace (char *input) |
| Convert the UTF-8 string to upper case. | |
| String | OW_NAMESPACE::UTF8Utils::toUpperCase (const char *input) |
| Convert the UTF-8 string to upper case and return the result. | |
| bool | OW_NAMESPACE::UTF8Utils::toLowerCaseInPlace (char *input) |
| Convert the UTF-8 string to lower case. | |
| String | OW_NAMESPACE::UTF8Utils::toLowerCase (const char *input) |
| Convert the UTF-8 string to lower case and return the result. | |
1.4.6