title: java - debugging "Watch" set up for a string, weird values for charAt(0)
body: <p>I'm facing a weird behavior using java to examine a String whilst debugging in IntelliJ.</p>
  
  <p>When I have stopped at a breakpoint, the "Watch" for <code>result.charAt(0)</code> contains weird values which I do not understand.</p>
  
  <p>If <code>sresutl = 30</code> why is it then that <code>sresutl.charAt(0) = '3' 51</code> (note the extra 51) - where did that come from?</p>
  
  <p>(I know it is not particularly elegant code, but it's just for educational purposes so don't worry :) )</p>
  
  <p><a href="https://i.stack.imgur.com/C4NmN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C4NmN.png" alt="enter image description here"></a></p>