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

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -