Go to the documentation of this file.
34 #ifndef UTF8STRING_INCLUDED
35 #define UTF8STRING_INCLUDED
42 typedef unsigned char UTF8;
44 #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD
45 #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF
50 #define UNI_SUR_HIGH_START (UTF32)0xD800
51 #define UNI_SUR_HIGH_END (UTF32)0xDBFF
52 #define UNI_SUR_LOW_START (UTF32)0xDC00
53 #define UNI_SUR_LOW_END (UTF32)0xDFFF
88 bool isRTL(
void)
const;
129 UTF8String(
const std::basic_string<UTF16> &UTF16String );
std::basic_string< UTF32 > UTF32String() const
Definition: Utf8String.cpp:281
bool isIndic(void) const
Definition: Utf8String.cpp:364
@ KHMER
Definition: ScriptCodes.h:47
@ TELUGU
Definition: ScriptCodes.h:39
UTF32 unicodeValueAtPosition(unsigned int pos=0) const
Definition: Utf8String.cpp:195
UTF8String unicodeSubString(unsigned int stt, unsigned int howManyCharacters=0) const
Definition: Utf8String.cpp:78
UTF8String unicodeSubStringOnWordBoundary(unsigned int stt, unsigned int howManyCharacters) const
Definition: Utf8String.cpp:143
unsigned short UTF16
Definition: Utf8String.h:41
UTF8String & append(const std::basic_string< UTF32 > &UTF32String)
Definition: Utf8String.cpp:563
bool isArabic(void) const
Definition: Utf8String.cpp:409
SCRIPTCODE
Definition: ScriptCodes.h:29
@ LAO
Definition: ScriptCodes.h:44
@ BENGALI
Definition: ScriptCodes.h:33
#define UNI_SUR_LOW_END
Definition: Utf8String.h:53
const char * _UTF32ValueToUTF8(UTF32 UTF32Value)
Definition: Utf8String.cpp:466
unsigned long UTF32
Definition: Utf8String.h:40
#define UNI_REPLACEMENT_CHAR
Definition: Utf8String.h:44
Definition: Utf8String.h:55
UTF8String & operator+=(const std::basic_string< UTF32 > &UTF32String)
Definition: Utf8String.cpp:619
#define UNI_SUR_HIGH_START
Definition: Utf8String.h:50
@ MALAYALAM
Definition: ScriptCodes.h:41
@ OTHER
Definition: ScriptCodes.h:48
@ ORIYA
Definition: ScriptCodes.h:37
unsigned char UTF8
Definition: Utf8String.h:42
UTF8String operator[](unsigned int pos) const
Definition: Utf8String.cpp:181
@ GUJARATI
Definition: ScriptCodes.h:36
SCRIPTCODE getScriptCode(void)
Definition: Utf8String.cpp:434
@ SINHALA
Definition: ScriptCodes.h:42
@ TAMIL
Definition: ScriptCodes.h:38
#define UNI_SUR_LOW_START
Definition: Utf8String.h:52
UTF8String & operator=(const std::basic_string< UTF32 > &UTF32String)
Definition: Utf8String.cpp:639
@ KANNADA
Definition: ScriptCodes.h:40
@ THAI
Definition: ScriptCodes.h:43
#define UNI_SUR_HIGH_END
Definition: Utf8String.h:51
bool isRTL(void) const
Definition: Utf8String.cpp:250
@ GURMUKHI
Definition: ScriptCodes.h:35
@ MYANMAR
Definition: ScriptCodes.h:46
UTF8String()
Definition: Utf8String.cpp:43
@ TIBETAN
Definition: ScriptCodes.h:45
@ ARABIC
Definition: ScriptCodes.h:32
unsigned int unicodeValueCount() const
Definition: Utf8String.cpp:62
@ DEVANAGARI
Definition: ScriptCodes.h:34