Given a character that is not a standard alphabet character, such as 'ⅻ'
, I'm having problems converting it to a string and retaining it's value. For example If I have:
String myStr = "ⅻⅾ℡ℬ";
Character myChar = myStr.charAt(0);
Then System.out.println('ⅻ' == myChar);
returns true, whereas System.out.println("ⅻ" == Character.toString(myChar));
returns false.
Thus my question effectively is how do I correctly get the value of 'ⅻ'
and store it in a string?