Validate UTF-8 characters and calculate the byte length
Note -
Use the u8_textprep_str() function to
convert a UTF-8 string to uppercase or
lowercase as well as to apply one of the Unicode
normalization forms. For more information, see http://unicode.org/reports/tr15/Unicode Normalization Forms.