Topic on Extension talk:Zend Search Lucene for MediaWiki

Special:PslZendSearchLucene, problems with display of Japanese/Chinese !

7
MWJames (talkcontribs)

We are using English, Chinese and Japanese page content, and while the standard MW search and display works in the correct manner, Zend Search brings a error message and does not display the result in the correct character codding.

Warning: Cannot modify header information - headers already sent by (output started at
 ...extensions\PslZendSearchLucene\PslZendSearchLucene_body.php:452) 
Steviex2 (talkcontribs)

Hi MWJames, it currently supports UTF-8, english and german (positive tested, see main page).

Agoerlt (talkcontribs)

@Steviex2: I am testing PslZendSearchLucene-Extension (Version 2.0) with MediaWiki 1.16.4, PHP 5.2.6 and MySQL 5.0.51. The Wiki's content is written in german language, but unfortunately I also receive the following error message (presumably based on coding issues):

Notice: iconv_strlen() [function.iconv-strlen]: Detected an illegal character in input string in {Server-Path}/ZendFramework-1.11.6/library/Zend/Search/Lucene/Search/QueryLexer.php on line 342

Is there any known solution for this problem yet? Grüße!

80.187.110.199 (talkcontribs)

Hi,

could you please mention the extension version you are using and the full error message.

This post was posted by 80.187.110.199, but signed as Steviex2.

Agoerlt (talkcontribs)

Its Version 2.0 of the extension and except for "{Server-Path}" the full error message (compare my post).

Steviex2 (talkcontribs)

I' m not really sure- but believe that I read something about it while developing, maybe in conjunction with the used zend framework version or the iconv-configuration in php.ini. There are several german wikis in use with this extension (in production mode)- never heard about it again (sorry ;-)). You also could google this issue like me while developing. I'm sure there is an answer for this. Would be nice to leave a note after fixing.

c u

Agoerlt (talkcontribs)

Ok, its fixed now. This problem was caused by the entry "de_CH.UTF8" within the indexing settings of Zend Framework. It must read "de_DE.UTF8" to work properly with special characters like ä, ö, ü, etc. So, finally no problems with the extension, thank you!

Reply to "Special:PslZendSearchLucene, problems with display of Japanese/Chinese !"