Issue Bug Closed

#28567Ugly replacement character when removing whitespaces

Dimitri Koenig 07/29/11, 13:51 updated 09/15/15, 20:14

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.