diff --git a/library/Zend/Search/Lucene/Document/Html.php b/library/Zend/Search/Lucene/Document/Html.php index 4e09c6dbc5..65126e1aa9 100644 --- a/library/Zend/Search/Lucene/Document/Html.php +++ b/library/Zend/Search/Lucene/Document/Html.php @@ -423,7 +423,7 @@ public function highlightExtended($words, $callback, $params = array()) $wordsToHighlightList = array(); $analyzer = Zend_Search_Lucene_Analysis_Analyzer::getDefault(); foreach ($words as $wordString) { - $wordsToHighlightList[] = $analyzer->tokenize($wordString); + $wordsToHighlightList[] = $analyzer->tokenize($wordString, 'UTF-8'); } $wordsToHighlight = call_user_func_array('array_merge', $wordsToHighlightList);