[CentOS] UTF-8 support in PCRE

Ralph Angenendt ra+centos at br-online.de
Fri Jul 4 09:29:48 UTC 2008


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 56

a) 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.sig>


More information about the CentOS mailing list