title: How do I convert a single character code to a `char` given a character set?
body: <p>I want to convert decimal to ascii and this is the code returns the unexpected results. Here is the code I am using.</p>
  
  <pre><code>public static void main(String[] args) {
      char ret= (char)146;  
      System.out.println(ret);// returns nothing. 
  </code></pre>
  
  <p>I expect to get character single "'" as per <a href="http://www.ascii-code.com/" rel="nofollow noreferrer">http://www.ascii-code.com/</a>
  Anyone came across this? Thanks.</p>