character encoding - get char value in java -
how can utf8 code of char in java ? have char 'a' , want value 97 have char 'é' , want value 233
here table more values
i tried character.getnumericvalue(a) gives me 10 , not 97, idea why?
this seems basic appreciated!
char numeric type containing unicode value (utf-16, exact - need two chars represent characters outside bmp) of character. can can int.
character.getnumericvalue() tries interpret character digit.
Comments
Post a Comment