1
4

2 回答 2

1

Solved . it was an encoding problem. my data was coming from mysql server , i had to set the correct charset option during pdo object initialization.

于 2014-07-14T12:25:56.553 回答
0

It is an encoding problem due to special chars, I recomend to escape the text you're trying to index with

$text = html_entity_decode(htmlentities($text, ENT_IGNORE, "UTF-8"));
于 2016-09-20T15:11:09.127 回答