for some reason, I have to decode string in chinese character. like this “\u961c”,this string is utf-8 of “阜”
I know how to decode bytes[] into Unicode characters.but is there an easy way decode String into Unicode characters?
By the way,When I get “阜”.getBytes. I get -100,-104,-23. Is that means
1001110 10010100 11101001 in binary?
But I think \u961c Unicode should be 1001 0110 0001 1100 in binary or something
and it's utf-8 format should be 11101001 10011000 10011100 in binary
\u961Cin UTF-16 butE9 98 9Cin UTF-8