preg for unicode strings?

From: Date: Sat, 05 Nov 2005 21:02:50 +0000
Subject: preg for unicode strings?
Groups: php.general 
Request: Send a blank email to php-general+get-225185@lists.php.net to get a copy of this message
Hi List I am doing some data validation and the following regexp fails [\W] When using characters like £ or € Obviously because they are technically more then one character, even though they are only displayed as one. The script is encoded in UTF-8 Anybody know a fix for this? With kind regards Andy -- Now listening to The Prophet - I Can't Stand It on amaroK Geek code: www.vlaamse-kern.com/geek Registered Linux User No 379093 If life was for sale, what would be its price? www.vlaamse-kern.com/sas/ for free php utilities --

Attachment: [application/pgp-signature]
« previous php.general (#225185) next »