There is no reason to protect some characters. If you process all the input correctly, it doesn't matter if you only process alphanumeric characters or Chinese.
It is easier to handle alphnum usernames only. You do not need to think about the ambiguity with the mappings in your database, encoding usernames in URLs and the like. But then again, if you handle this correctly, there are no technical reasons.
For practical reasons, passwords are often only alphanumeric. Most password inputs, for example, do not accept IME, so it is almost impossible to have a Japanese password. However, there is no reason to refuse the prohibition of characters other than the alphabet. On the contrary, the larger the alphabet used, the better.
deceze
source share