|| бей в бубен

[TYPO3] indexed search problem with utf-8, bug?

Материал из:

http://lists.netfielders.de/pipermail/typo3-english/2007-October/043466.html

I spent some hours to find because indexed search extension was not able to find words that contain the character à, like, for example, "capacità". Also the problem was in the results: all the à was not rendered. I've found the problem is in the code:

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

in row 1970 of the file class.tx_indexedsearch.php

There was not a delimiter in the reg exp. I have added and it works!:

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

Nicola.