convert unicode letter to integer