I get compile error when typing javac Main.java
in terminal and the message i get is:
.\Constants.java:32: error: unmappable character (0x9D) for encoding windows-1252.
I know it caused by this bit of code:
public static final String[] UNICODE_TEXT = {
"― ", // CELL_EMPTY
"✗ ", // CELL_X
" ", // CELL_O
" ", // CELL_INVALID
};
It is the "✗ "
and the " "
that causes this problem since they are special characters. I don't want to change the code since it was provided by the course. How can I compile this?