pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] UTF-8, PCRE and Pan 0.14.2.91 - problems suddenly


From: Brian Morrison
Subject: Re: [Pan-users] UTF-8, PCRE and Pan 0.14.2.91 - problems suddenly
Date: Sun, 25 Jan 2004 09:04:36 +0000

On Sat, 24 Jan 2004 22:32:44 +0100 in
address@hidden Christophe Lambin
<address@hidden> wrote:

> On Sat, 24 Jan, 2004 at 15:27 +0100, Brian Morrison wrote:
> 
> > Sat, 24 Jan 2004 14:24:51 - Can't use regular expression "\.": this
> > version of PCRE is not compiled with PCRE_UTF8 support at position
> > 138202594
> > 
> > So, why did it work OK with the previous version? I remember having
> > to update from pcre-3.9 to 4.4 because of the UTF-8 issue. I believe
> > that by default pcre-4.4 is built with this support, it must have
> > been because 0.14.2.90 didn't complain, right?
> 
> Not necessarily: 0.14.2.90 didn't check support for UTF-8 in pcre;
> this check was only implemented in .91.  So, it's entirely possible
> that your version of pcre doesn't support it (as the error message
> suggests). I suggest you check this first.

>From the pcre.spec file I used to build the pcre rpms:

%configure --includedir=%{_includedir}/%{name} --enable-utf8

>From the config.log file for pcre-4.4:

  $ ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info
--includedir=/usr/include/pcre --enable-utf8

In both cases the --enable-utf8 tells me that UTF-8 support is compiled
in.

So now how do I test that and confirm it? Pan definitely can't see it.

-- 

Brian Morrison

bdm at fenrir dot org dot uk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]