Provides functions for manipulating Unicode strings. More...
Go to the source code of this file.
Functions | |
size_t | guac_utf8_charsize (unsigned char c) |
Given the initial byte of a single UTF-8 character, returns the overall byte size of the entire character. More... | |
size_t | guac_utf8_strlen (const char *str) |
Given a UTF-8-encoded string, returns the length of the string in characters (not bytes). More... | |
Provides functions for manipulating Unicode strings.
size_t guac_utf8_charsize | ( | unsigned char | c | ) |
Given the initial byte of a single UTF-8 character, returns the overall byte size of the entire character.
c | The initial byte of the character to check. |
size_t guac_utf8_strlen | ( | const char * | str | ) |
Given a UTF-8-encoded string, returns the length of the string in characters (not bytes).
str | The UTF-8 string to calculate the length of. |