[CentOS] UTF-8 support in PCRE

Ralph Angenendt ra+centos at br-online.de
Mon Jul 7 12:54:58 UTC 2008


Amitava Shee wrote:
> On Fri, Jul 4, 2008 at 5:29 AM, Ralph Angenendt
> <ra+centos at br-online.de<ra%2Bcentos at br-online.de>>
> wrote:
> > Amitava Shee wrote:
> > > How do I get utf-8 support with PCRE?
> >
> > 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
> http://framework.zend.com/manual/en/zend.search.lucene.charset.html#zend.search.lucene.charset.utf_analyzer
> 
> 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.

As I said: pcre can do UTF-8:

%build
%configure --enable-utf8

That's from the spec file. And again: It's not pcre, it is iconv which
doesn't like a character in one of the framework's files.

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20080707/26c170b1/attachment.bin


More information about the CentOS mailing list