[CentOS] UTF-8 support in PCRE

Amitava Shee amitava.shee at gmail.com
Mon Jul 7 14:36:26 UTC 2008


Yes, building from source will work. I just want to know if there is a
package (in some yum repository) somewhere so that updates, patches etc.
gets applied with "yum update". It would be nice to do something like

yum install pcre-utf8

-Amitava

On Mon, Jul 7, 2008 at 8:54 AM, Ralph Angenendt
<ra+centos at br-online.de<ra%2Bcentos at br-online.de>>
wrote:

> 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><
> ra%2Bcentos at br-online.de <ra%252Bcentos 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
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20080707/0dc1dc59/attachment.htm


More information about the CentOS mailing list