Go to the documentation of this file.
19 #define utf8_strlen(S, B) ((B) < 0 ? (int)strlen(S) : (B))
20 #define utf8_tounicode(S, CP) (*(CP) = (unsigned char)*(S), 1)
21 #define utf8_index(C, I) (I)
22 #define utf8_charlen(C) 1
31 int utf8_fromunicode(
char *p,
unsigned short uc);
63 int utf8_index(
const char *str,
int charindex);