I am trying to printsubscripts in java but whenever I type in the unicode value for said subscript and print it I get a "?" For example the code down below would print Na? instead of Na₂
System.out.println("Na\u2082");
Is there anything I can do to fix this. I've looked everywhere online and have absolutely no idea why this is happening. Any help would be greatly appreciated.