How do I get utf-8 support with PCRE? I am having problems building lucene index using Zend_Lucene. I get the following error PHP Notice: iconv(): Detected an illegal character in input string in /var/www/ZendFramework-1.5.2/library/Zend/Search/Lucene/Analysis/Analyzer/Common/Text.php on line 56 Thanks in advance. Regards, Amitava Shee -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080703/45194521/attachment-0002.html>
Amitava Shee wrote:> How do I get utf-8 support with PCRE? > > I am having problems building lucene index using Zend_Lucene. I get the > following error > > > PHP Notice: iconv(): Detected an illegal character in input string in > /var/www/ZendFramework-1.5.2/library/Zend/Search/Lucene/Analysis/Analyzer/Common/Text.php > on line 56a) What does that have to do with pcre? (which can do UTF-8) b) What is on line 56 in that file? Looks like iconv is choking on that. So try to process that file with iconv on the command line. Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080704/7cfc5bfc/attachment-0002.sig>