Re: [pcre-dev] [Bug 1295] add 32-bit library

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: Tom Bishop, Wenlin Institute
CC: pcre-dev@exim.org Mailing List
Sujet: Re: [pcre-dev] [Bug 1295] add 32-bit library
On Fri, 9 Nov 2012, Tom Bishop, Wenlin Institute wrote:

> Currently, PCRE sets a horrible precedent for a protocol.
> PCRE_NO_UTF32_CHECK has two meanings at the same time: "don't check
> the input, since we already know it's valid UTF-32" and "mask the
> input, since it's not UTF-32, it's really UTF-21".


Actually, you will be pleased to learn, this is no longer true. The
masking code is currently removed, and we will be releasing an 8.32
Release Candidate shortly that has no masking code. Once that is tested,
8.32 itself will be released with no masking.

> Still, I'm willing to help improve the protocol, if there's a decision
> about what should be done. There should be a decision.


Christian is going to work on implementing a runtime option that
explicitly requests masking. Apparently he intends to use this facility
himself. We will document it with suitable warnings (such as you put in
your message).

I hope now that everybody, if not totally happy, will be less
uncomfortable with this compromise.

Philip

--
Philip Hazel