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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php