summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMohammad Javad Naderi <mjnaderi@gmail.com>2013-08-22 10:53:15 +0200
committerMohammad Javad Naderi <mjnaderi@gmail.com>2013-08-22 10:53:15 +0200
commitb312d2f18e24ad980e647884e1bae6c26ceb82d8 (patch)
tree70e649ea3708ac306afcd94283494e90be0de198 /tests
parenta1553a9a49b8d355de7892204759651aa3532dad (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 'tests')
0 files changed, 0 insertions, 0 deletions