lv_txt_utf8_prev() function
Get previous UTF-8 character form a string.
Syntax
static uint32_t lv_txt_utf8_prev(const char * txt,
uint32_t * i_start);
Arguments
txt
pointer to '\0' terminated string
Return value
the decoded Unicode character or 0 on invalid UTF-8 code