Allowable characters in username/password
MattKelly - July 26, 2007 - 20:09
What characters are allowed for usernames/passwords, by default? I've dug this up from user.module, but I'm not sure if this is all encompassing (this is for usernames, only):
Non-printable ISO-8859-1 + NBSP, Soft-hyphen, Various space characters, Bidirectional text overrides, Various text hinting characters, Byte order mark, Full-width latin, Replacement characters, NULL byte. I'm not sure what this includes: if (ereg("[^\x80-\xF7 [:alnum:]@_.-]", $name)) return t('The username contains an illegal character.');
Also, usernames cannot begin with a space, end with a space, or have multiple spaces in a row.
Any help would be great. Thanks!

I am interested in allowing
I am interested in allowing a few characters other than default in usernames. I have read some on the user_import module
as being able to import usernames with different characters. I have also read about using access rules to allow/deny certain
characteristics in usernames. I need to know the best way to allow about 4 different unicode characters in usernames.