Returns the size of a string in UTF-8 bytes (handles multi-byte characters correctly).
The string to measure.
The byte length of the string when encoded as UTF-8.
https://stackoverflow.com/a/23318053/1347170
Returns the size of a string in UTF-8 bytes (handles multi-byte characters correctly).