Actions
Bug #19130
closedsearch results too long when non-utf8 characters are in index and iconv is being used
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2008-07-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Actions