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
Amitava Shee wrote:Again - and I'm going to type this very slowly: The supplied pcre which
> 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
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@centos.org
http://lists.centos.org/mailman/listinfo/centos