sweebee / filament-char-counter

MIT License
27 stars 2 forks source link

Non-Latin characters issue #9

Closed panacz closed 1 year ago

panacz commented 1 year ago

strlen() returns the bytes of the string, not the length. So it doesn't work well with non-Latin characters.

mb_strlen() fix this issue.