title: Java - Assign unicode apostrophe to char
body: <p>I want to assign the value of aphostrophe to a char:</p>
  
  <pre><code>char a = '\'';
  </code></pre>
  
  <p>However I would like to use the unicode version of apostrophe (\u0027) to keep it consistent with my code:</p>
  
  <pre><code>char a = '\u0027';
  </code></pre>
  
  <p>But doing it this way gives an error saying "unclosed character literal".</p>
  
  <p>How can I do this assignment while still having the unicode code in the code?</p>