Username (RegEx) allowing foreign characters
Actually I have 2 little problems..
1. Problem
I have 4 languages installed..
I want to allow all characters of those languages...
english, french, german and spanish plus - and _ but no spaces and no ' or " or or or any other special characters like ? * #(because login will also go into a chat that doesn't support spaces in nicks nor ? " ' # etc..)
2. Problem
My second problem is a future problem in 2 or 3 months because i plan to install also russian and chinese. how should I handle the usernames? first thought allowing everything except ! #? etc... but i dont know how to
actually it would be far easier just to be able to disallow spaces and some special characters.. even hardcoded. (my database is allready utf-8)
suggestions would be very apreciated
Felix
|