HDK
|
#include <UT_CharSetUtils.h>
Static Public Member Functions | |
static bool | encodeUTF8 (const char *src_str, UT_WorkBuffer &out_str) |
Returns true if ok, false otherwise. More... | |
static bool | decodeUTF8 (const char *src_str, UT_WorkBuffer &out_str) |
static bool | decodeUTF8 (const char *src_str, UT_String &out_str) |
static bool | decodeUTF8 (const char *src_str, UT_StringHolder &out_str) |
Static Public Attributes | |
static const char *const | SRC_CODE_ENCODING |
static const char *const | XML_ENCODING |
Definition at line 23 of file UT_CharSetUtils.h.
|
static |
Conversion method from the source encoding of UTF-8 to the encoding specified by the out_encoding. src_str - the input string bytestream in the UTF-8 encoding. out_str - the output string bytesream in the out_encoding. out_encoding - always Latin 1 Returns true if ok, false otherwise.
Conversion method from the source encoding of UTF-8 to the encoding specified by the out_encoding. src_str - the input string bytestream in the UTF-8 encoding. out_str - the output string bytesream in the out_encoding. out_encoding - always Latin 1 Returns true if ok, false otherwise.
|
static |
Conversion method from the source encoding of UTF-8 to the encoding specified by the out_encoding. src_str - the input string bytestream in the UTF-8 encoding. out_str - the output string bytesream in the out_encoding. out_encoding - always Latin 1 Returns true if ok, false otherwise.
|
static |
Returns true if ok, false otherwise.
Conversion method from the source encoding to UTF-8 Unicode encoding. src_str - the input string bytestream in the src_encoding out_str - the output string bytesream in the UTF-8 encoding. src_encoding - always Latin 1
Definition at line 28 of file UT_CharSetUtils.h.
Definition at line 31 of file UT_CharSetUtils.h.