35 #define UTF8_CONTINUATION_BYTE(c) (((c) & 0xc0) == 0x80)
int UTF8_delete_char_at(char *s, int pos)
Delete a whole (possibly multibyte) character from a string.
size_t UTF8_strlen(const char *str)
Count the number of character (not the number of bytes) of a zero termination string.
int UTF8_next(const char **str)
Get the next utf-8 character from the given string.
char * UTF8_strncpyz(char *dest, const char *src, size_t limit)
UTF8 capable string copy function.
int UTF8_char_offset_to_byte_offset(char *str, int pos)
Convert UTF-8 character offset to a byte offset in the given string.
int UTF8_encoded_len(int codepoint)
QGL_EXTERN GLenum GLuint * dest
int UTF8_insert_char_at(char *s, int n, int pos, int codepoint)
Insert a (possibly multibyte) UTF-8 character into a string.
int UTF8_char_len(unsigned char c)
length of UTF-8 character starting with this byte.