I have UTF-8 string as bellow:
Công ty tnhh một thành viên
I visit web: https://mothereff.in/byte-counter and filter text utf-8 in textarea.
It will show "That’s 27 characters, totaling 32 bytes. #"
So, how to check byte text utf-8
equal "32 bytes"
with php?
I have been using function strlen() but return result is 27, not 32.
Thank very much!