[Solved] Why does entering “Δ to a Scanner result in the wrong character?


The value 65533 is 0xFFFD. This is the Unicode “Replacement Character” which is used in place of a character that is unrepresentable. It is normally displayed as “�”. The reason you are getting this could be because your standard input (keyboard?) is not capable of producing the character “Δ. Try putting this character into a text file instead, and then redirect the text file into standard input. (Make sure the text file does not start with a Byte Order Mark, which is what happens if you use Windows Notepad.)

solved Why does entering “Δ to a Scanner result in the wrong character?