#19130search results too long when non-utf8 characters are in index and iconv is being used
Description
function markupSWpartsOfString returns non-cropped results, because the t3lib_cs::strlen(‘utf-8’,…) fails on non-unicode strings, returning. It sure may be my failure to let non-utf-8 strings into index table, but i can’t control it thoroughly now. Our website is served as latin1.
iconv_strlen(): Detected an illegal character in input string in
t3lib/class.t3lib_cs.php on line 1428
changing t3lib_cs::strlen(‘utf-8’,…) to t3lib_cs::utf8_strlen(…) in markupSWpartsOfString resolved the issue.
(issue imported from #M9010)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.