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 15 years ago. Updated almost 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 #1

Updated by Raffi no-lastname-given about 15 years ago

We have the same problem. When we switch to mbstring it works perfectly.

Actions #2

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.2

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by ILYA no-lastname-given almost 11 years ago

I'm not using typo3 anymore and would not be able to provide useful feedback. Sorry!

Actions #4

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to Closed

Closed as commented.

Actions

Also available in: Atom PDF