lv_text_utf8_get_length() function
Get the number of characters (and NOT bytes) in a string. Decode it with UTF-8 if enabled. E.g.: "ÁBC" is 3 characters (but 4 bytes)
Syntax
static uint32_t lv_text_utf8_get_length(const char * txt); Arguments
txt
a '\0' terminated char string
Return value
number of characters