mb_strlen
only gives number of bytes, and it is not what I wanted.
It should work with multibyte characters.
mb_strlen($text, "UTF-8");
You may make use of mb_strlen.
mb_strlen()
with mb_internal_encoding('UTF-8')
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With