Re: regular pattern to match åäö
| From: | Manuel Lemos | Date: | Sat, 18 Feb 2006 22:16:26 +0000 |
| Subject: | Re: regular pattern to match åäö | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230703@lists.php.net to get a copy of this message | ||
Hello,
on 02/18/2006 07:42 PM Patrick said the following:
> im trying to get my regular pattern to allow åäöÅÄÖ but it refuses to,
> i have something like this:
>
> [^a-zA-ZåäöÅÄÖ0-9-_ ]
>
> But this dosent seem to work, anyone got any ideas?
It seems your message is in Windows-1252 encoding. Make sure you are not
using an encoding in your PHP source code editor that is different from
the encoding of your input data.
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/