lq-text: LQU_UTF8CharLength

API unsigned long LQU_UTF8CharLength (String) CONST unsigned char *String;

Purpose

Find the length in displayed characters of a UTF-8 string.

Returns

The number of characters. Multi-byte characters count as one, regardless of their length.

Notes

Does not (yet) handle diacritical marks.