Project

General

Profile

Actions

Bug #19130

closed

search results too long when non-utf8 characters are in index and iconv is being used

Added by ilya over 16 years ago. Updated over 11 years ago.

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19726: UTF8 produces bad character outputClosed2008-12-19

Actions
Actions

Also available in: Atom PDF