Computes the length of a string.
#include <utf8.h> size_t utf8len ( const utf8_t *string);
(IN) Points to the string whose length is to be computed.
Returns the number of characters (not bytes) in a UTF-8 string. The string is measured against the code page currently in place within the hosting system.
The utf8len function accepts a null-terminated, potential UTF-8 string in the current code page, measures it, and returns its length.