title: get char value in java
body: <p>How can I get the UTF8 code of a char in Java ?
  I have the char 'a' and I want the value 97
  I have the char 'é' and I want the value 233</p>
  
  <p>here is a table for <a href="http://terroirs.denfrance.free.fr/p/webmaster/unicode_utf-8.html#top" rel="noreferrer">more values</a>  </p>
  
  <p>I tried <code>Character.getNumericValue(a)</code> but for a it gives me 10 and not 97, any idea why?</p>
  
  <p>This seems very basic but any help would be appreciated!</p>