support foreign characters in alpha validation rules.
Merge branch '4.0'