I want to display a Unicode character in Java. If I do this, it works just fine:
String symbol = \"\\u2202\";
symbol is equal to \"∂\". That\'
This is how you do it:
int cc = 0x2202; char ccc = (char) Integer.parseInt(String.valueOf(cc), 16); final String text = String.valueOf(ccc);
This solution is by Arne Vajhøj.