public static void main(String[] args) { int i=153; int j=63; System.out.println((char)i); System.out.println((char)j); } OUTPUT:- ? ?
I have some i
If this is a terminal encoding issue, I believe that this answer https://stackoverflow.com/a/362006/4828060
is a fast and straightforward way to bypass the problem. Just add -Dfile.encoding=some_encoding to the parameters of the java command,
e.g. java -Dfile.encoding=UTF-8 … MainClass