why instead of Ñ it writes à in this line: char letter = word.charAt(i);? I have reduced the code to the basic to explain what happens, so the code uses a scann
char letter = word.charAt(i);