| WritRecogn Reference Manual | ||||
|---|---|---|---|---|
#define MAX_STRING_BUFFER_SIZE char* initString (char *str); bool isEmptyString (const char *str); char* subString (char *buf, const char *str, int beginIndex, int length); gchar* ucs4_to_utf8 (gunichar ucs4Code); gunichar* utf8_to_ucs4 (const gchar *utf8Code); int strcmp_unsigned_signed (unsigned char *str1, const char *str2); unsigned char* signedStr_to_unsignedStr (unsigned char *result, const char *str); char* unsignedStr_to_signedStr (char *result, unsigned char *str);
char* subString (char *buf,
const char *str,
int beginIndex,
int length);
|
|
|
|
|
|
|
|
Returns : |
gchar* ucs4_to_utf8 (gunichar ucs4Code);
ucs4Code: the UCS-4 to be converted.
|
|
Returns : |
UTF-8 string that converted from the UCS-4 Code. Use g_free() after use.
|
int strcmp_unsigned_signed (unsigned char *str1,
const char *str2);
|
|
|
|
Returns : |
unsigned char* signedStr_to_unsignedStr (unsigned char *result,
const char *str);
|
|
|
|
Returns : |