diff options
author | Mohammad Javad Naderi <mjnaderi@gmail.com> | 2013-08-22 10:53:15 +0200 |
---|---|---|
committer | Mohammad Javad Naderi <mjnaderi@gmail.com> | 2013-08-22 10:53:15 +0200 |
commit | b312d2f18e24ad980e647884e1bae6c26ceb82d8 (patch) | |
tree | 70e649ea3708ac306afcd94283494e90be0de198 /system/fonts | |
parent | a1553a9a49b8d355de7892204759651aa3532dad (diff) |
character_limiter now works correct for UTF-8 strings
strlen() doesn't return the actual length for unicode strings. For example strlen('سلام') returns 8, but length of سلام is 4. strlen(utf8_decode('سلام')) returns correct value 4.
Reference: http://www.php.net/manual/de/function.strlen.php#45407
Diffstat (limited to 'system/fonts')
0 files changed, 0 insertions, 0 deletions