Open carp3 opened 4 years ago
Currently asserting string length with a UTF-8 string will cause a message like this:
which contains an invalid UTF-8 character. it's because of substr function ( it's not UTF-8 safe )
I fixed this issue by using mb_substr instead of substr
Currently asserting string length with a UTF-8 string will cause a message like this:
which contains an invalid UTF-8 character. it's because of substr function ( it's not UTF-8 safe )
I fixed this issue by using mb_substr instead of substr