sfLucenePlugin: iconv(): Detected an illegal character in input string

Hello Symfoniacs!

Playing with pretty nice PHP search engine Zend Lucene in Symfony as a sfLucenePlugin

If you’re building a website in UTF-8 (all stuff: db, html, etc) you proabably can get the following PHP Notice:

This is caused by lack of information in the installation guide of the sfLucenePlugin.

Few minutes of Google-ing could brought you the following:

try to add in config/search.yml:

This line solved this problem for me, hope for you too.