Today I added some chinese characters to my page. Then I tried to find this
stuff after indexing in my index. The I found out, it's not in the index and
during indexing always a the following PHP Notice shows up:
iconv() [ function.iconv function.iconv ]: Detected an illegal character in
input string in
/Library/WebServer/Documents/xodoa/app/libs/Zend/Search/Lucene/Analysis/Analyzer/Common/Text.php
on line 57
Line 57 is the followin source code:
$this->_input = iconv($this->_encoding, 'ASCII//TRANSLIT',
$this->_input);
And here we have the problem. As far as I found out, ASCII//TRANSLIT can't
translate chinese characters (makes sense). When I comment out this line,
all works well.
So I tried to find out a way do deactivate this line. But I haven't found a
solution. In my opinion this shouldn't be hardcoded.
Is there any solution around this? I also want to use chinese characters in
my search index.
--
View this message in context:
http://www.nabble.com/Zend_Search_Lucene-index-with-chinese-characters--%3E-problem-iconv-tp22335490p22335490.html
Sent from the Zend Framework mailing list archive at Nabble.com.