sweebee/filament-char-counter

Non-Latin characters issue

Closed this issue · 0 comments

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.