UTF8_getc
ret = UTF8_getc(p, len, &value);
i = UTF8_getc(p, q - p, &c);
int UTF8_getc(const unsigned char *str, int len, unsigned long *val);