fixing validation of russian chars