Bug #28567

Epic #65814: Make Indexed search extbase plugin shine

Ugly replacement character when removing whitespaces

Added by Dimitri Koenig over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
Start date:
2011-07-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

tx_indexedsearch.php->markupSWpartsOfString($str) removes unnecessary whitespaces at the beginning:

$str = preg_replace('/\s\s+/',' ',$str);

But sometimes this produces ugly replacement characters (U+FFFD/65533).

Any solution?

Also available in: Atom PDF