
17 Apr
2007
17 Apr
'07
10:18 a.m.
Hi On Tue, 17 Apr 2007 10:15:16 +0200 Sebastian Mendel <lists@sebastianmendel.de> wrote:
does anybody have a small testcase what describes what happens without mb_string?
Multibyte string is split wrongly. So if you create utf-8 string with only multibyte chars and make substr on it, string can be split in midlle of char leading to invalid utf-8. Small test is attached. -- Michal Čihař | http://cihar.com | http://blog.cihar.com