37 const unsigned char *from;
40 from = (
const unsigned char *)orig.
c_str();
56 utf16 = (
SW_s16)((ch - 0x10000) / 0x400 + 0xD800);
59 utf16 = (
SW_s16)((ch - 0x10000) % 0x400 + 0xDC00);
#define SWORD_NAMESPACE_START
const char * c_str() const
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)
unsigned long size() const
#define SWORD_NAMESPACE_END
SW_u32 getUniCharFromUTF8(const unsigned char **buf, bool skipValidation=false)
void setSize(unsigned long len)