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: pgpgretkqqhNR.pgp
Description: PGP signature

Reply via email to