Bug #24171
closedWord split is not working with non-latin letters
0%
Description
We use utf-8 for russian and ukrainian letters. Word splitting and highlight (in search results) is not working in such case.
In pi/class.tx_indexedsearch.php:markupSWpartsOfString we have
// Split and combine:
$parts = preg_split('/'.$regExString.'/i', ' '.$str.' ', 20000, PREG_SPLIT_DELIM_CAPTURE);
i think we should add one regexp option to that splitting (it fixes such wrong behaviour)
// Split and combine:
$parts = preg_split('/'.$regExString.'/iu', ' '.$str.' ', 20000, PREG_SPLIT_DELIM_CAPTURE);
(issue imported from #M16525)
Updated by Alexander Opitz about 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - TYPO3 Version set to 4.4
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this ticket.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.