[CentOS] UTF-8 support in PCRE
amitava.shee at gmail.com
Mon Jul 7 12:11:50 UTC 2008
Please see my reply inline below
On Fri, Jul 4, 2008 at 5:29 AM, Ralph Angenendt
<ra+centos at br-online.de<ra%2Bcentos at br-online.de>>
> 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
> > on line 56
> a) What does that have to do with pcre? (which can do UTF-8)
[Shee] Zend lucene search engine uses pcre and requires pcre to be compiled
with --enable-utf8. Please see
UTF-8 support can either be compiled into PCRE at build time or supported
via shared library. But shared library support is included/excluded based on
the distro. I believe, upstream RedHat does not include it. I was hoping to
find a way in CentOS. I have no idea if other distro's support it. That's a
research item for me.
> b) What is on line 56 in that file? Looks like iconv is choking on that.
[Shee] Framework code - don't know much there
> So try to process that file with iconv on the command line.
> CentOS mailing list
> CentOS at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS