utf8.offset (s, n [, i])nsiniin#s + 1utf8.offset(s, -n)nnil
As a special case, when n is 0 the function returns the start of the encoding of the character that contains the i-th byte of s.
This function assumes that s is a valid UTF-8 string.
Please login to continue.