Quote Originally Posted by Cactus_Hugger View Post
For UTF-8 string that are nul terminated, strlen() will return the length, in bytes, of that string.
Perhaps. But perhaps not.
UTF-8 is very much variable length and as such, it can return incorrect length because some characters span several bytes. Unicode is a tricky topic.