I have an online leaderboard where players come from all over the world to enter their score. In my app, I want to restrict the player's name to English alphanumeric and foreign language characters but no special symbol allowed.
This data is saved into an online mysql database.
I know I can check for English alphanumeric using the following
string correctedName = Regex.Replace(settings.PlayerNameSetting, @"[^A-Za-z0-9 ]+", "");
but how about allowing to accept Japanese, Chinese, Spanish or other languages characters too?