My issue is that when I input cyrillic letters into the Scanner, that when I try to print it out it becomes gobbldygook (Eg. input ходить, output = Ö–æ–¥–∏). I have the Ascii values of the cyrillic alphabet as well as the UTF-8 values stored in a text file. I am pretty certain that System.in is wrong, so what exactly should I be doing?
Scanner s = new Scanner(System.in);
String line = s.nextLine();
System.out.println(line);