Re: UTF-8 support in PCRE

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



The issue is in CentOS 5. I ran the application successfully in Ubuntu 8.04.

PCRE in CentOS does not have "unicode properties" enabled. Please see pcretest -C outputs from CentOS and Ubuntu

CentOS 5
=======
[ashee@foobar]$ pcretest -C
PCRE version 6.6 06-Feb-2006
Compiled with
  UTF-8 support
  No Unicode properties support
  Newline character is LF
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack

Ubuntu
=====
ashee@ubuntu:~$ pcretest -C
PCRE version 7.4 2007-09-21
Compiled with
  UTF-8 support
  Unicode properties support
  Newline sequence is LF
  \R matches all Unicode newlines
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack

Is there a way to enable these options (without the usual ./configure make)?

-Amitava


On Tue, Jul 8, 2008 at 6:44 AM, Ralph Angenendt <ra+centos@xxxxxxxxxxxx> wrote:
Amitava Shee 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

Again - and I'm going to type this very slowly: The supplied pcre which
is *IN* CentOS *IS* built with UTF-8 support.

And: Your problem has *nothing* to do with pcre, your problem lies
*within* the iconv library.

Ralph

_______________________________________________
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