Pádraic, Please try my patched version attached.
Let me know if it works, please. Best, Andries Seutens http://andries.systray.be Pádraic Brady schreef:
JIRA is down at the moment...I can confirm openSuse as a problem - I've been updated around the packaged versions for some time otherwise my own names gets a few squawks of protest ;). The level of compatility issues seems to indicate a problem with PHP integrating with PCRE in some distributions. Some of the problem issues still occur even if PCRE appears to be compiled with UTF-8 support (6.x at least).Ubuntu seems perfectly fine. I compiled my own Fedora PHP so I don't know about it's packaged versions. My own work.This problem isn't going to vanish anytime soon - there's very little the framework can do except shift down from Unicode against such issues. That causes another problem in how to manage the inconsistency so migrating/installing applications don't bork on the spot when using a simple accented character. It might be useful to distinguish between Alnum for ASCII/ISO and Alnum for Unicode/UTF-8 so a programmer can select which to use themselves.Regards, PaddyPádraic Bradyhttp://blog.astrumfutura.com http://www.patternsforphp.com ----- Original Message ---- From: Graham Anderson <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, June 27, 2007 11:05:16 PMSubject: Re: [fw-general] Re: Zend_Validate_Alnum and Zend_Validate_Alpha failing(ZF1.0RC3)On Wednesday 27 June 2007 18:38:07 Darby Felton wrote: > Hi Josh, > > It's already filed as: > > http://framework.zend.com/issues/browse/ZF-1641 >> We can post further comments and results there for further investigation.> > Best regards, > Darby Hiya,I can't post to JIRA at the moment so this will have to do in the meantime.>From testing on my platforms ( openSUSE/SUSE-OSS 10.0, 10.1, 10.2 ), I havethe following results:Up to ( but not including ) apache2-mod_php5-5.2.0-10.rpm testing against thePCRE expression in current Zend_Filter_Alnum passes. From mod_php5 version that ships with openSUSE 10.2 ( 5.2.0-10 ) to the current available in the openSUSE build service, ( 5.2.3-29.1 ), testing against the pattern fails.On openSUSE mod_php5-5.2.0-10 and greater is built against the system PCRE library and not the PHP bundled one, on opensuse 10.2 this is pcre-6.7-21. While patterns with UTF-8 options match against this system library outsideof PHP; they do not, for whatever reason match when used inside of PHP. Workaround, on openSUSE 10.2 an upgrade of the system PCRE to the latestavailable from the openSUSE build service ( pcre-7.1-16 ) will allow patternmatching inside of PHP to function as expected. Cheers Graham ------------------------------------------------------------------------Need a vacation? Get great deals to amazing places <http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ-->on Yahoo! Travel.------------------------------------------------------------------------ No virus found in this incoming message.Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.9.10/875 - Release Date: 27/06/2007 21:08
-- Andries Seutens http://andries.systray.be
Alnum.php
Description: application/php
Gecontroleerd op virussen door de JOJO Secure Gateway.
