Greetings,
I am developing GWT application where user can enter his details in Japanese. But the \'userid\' and \'password\' should only contain English characters(L
There might be a better approach, but you could load a collection with whatever you deem to be acceptable characters, and then check each character in the username/password field against that collection.
Pseudo:
foreach (character in username)
{
if !allowedCharacters.contains(character)
{
throw exception
}
}