Re: UTF-8 support in PCRE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



My error log with iconv is misleading. Please ignore that portion and instead use this little php script to check for utf-8 support in pcre


<?php
if (@preg_match('/\pL/u', 'a') == 1) {
    echo "PCRE unicode support is turned on.\n";
} else {
    echo "PCRE unicode support is turned off.\n";
}

?>

Also, please check out this thread (lack of pcre utf8 support in RHEL).

http://marc.info/?l=php-i18n&m=118303425505336&w=2

-Amitava


On Mon, Jul 7, 2008 at 10:45 AM, Jim Perrin <jperrin@xxxxxxxxx> wrote:
On Mon, Jul 7, 2008 at 10:36 AM, Amitava Shee <amitava.shee@xxxxxxxxx> wrote:
> 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

Okay, there's a disconnect, somewhere which you aren't getting.

The pcre package included in centos does UTF8 just fine. The problem
you are seeing is related to another package. You need to look at the
script to see what iconv (where the problem actually is) is having
problems with.

--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux