lv_txt_utf8_size() function
UTF-8 ENCODER/DECODER Give the size of an UTF-8 coded character
Syntax
static uint8_t lv_txt_utf8_size(const char * str); Arguments
str
pointer to a character in a string
Return value
length of the UTF-8 character (1,2,3 or 4), 0 on invalid code.