php - Check char size in utf8 encoding -


Is there a simple solution to check how many bytes are stored in UTF 8?

strlen () Returns the number of bytes. Mb_strlen () returns the number of multibyte characters.

Comments