Re: [fw-general] Enable preg_match unicode support

2009-01-12 Thread Pádraic Brady

Hi Julian,

The support isn't influenced by PHP, rather it depends on how the PCRE
library was compiled that PHP is compiled against. A lot of older systems
have PCRE compiled without Unicode support (for reasons known only to
themselves).

Where the support is not available, you may need to compile the PCRE library
correctly and run a new PHP version compile off that. Perhaps your system
has a corrected update available from an update repo?

Paddy



Julian Davchev wrote:
> 
> Hi,
> I see this
> @preg_match('/\pL/u', 'a')  code is used in Zend/Filter/Alpha.php   to
> determine if unicode support enabled or not.
> Can anyone tell me how to actually enable it so it is supported? I get
> enabled on one system and not in other but can't figure out what
> configuration is or difference.
> 
> Cheers
> 
> 


-
Pádraic Brady

Blog: http://blog.astrumfutura.com
Free Zend Framework Book: http://www.survivethedeepend.com
OpenID Europe Foundation - Irish Representative
-- 
View this message in context: 
http://www.nabble.com/Enable-preg_match-unicode-support-tp21411573p21419343.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] Enable preg_match unicode support

2009-01-12 Thread Julian Davchev
Hi,
I see this
@preg_match('/\pL/u', 'a')  code is used in Zend/Filter/Alpha.php   to
determine if unicode support enabled or not.
Can anyone tell me how to actually enable it so it is supported? I get
enabled on one system and not in other but can't figure out what
configuration is or difference.

Cheers