utf8FindPrevChar
Given a position @p with a UTF-8 encoded string @str, find the start of the previous UTF-8 character starting before @p. Returns null if no UTF-8 characters are present in @str before @p.
Return
a pointer to the found character or null.
Parameters
str
pointer to the beginning of a UTF-8 encoded string
p
pointer to some position within @str