title: How to convert a hex code value to a unicode char
body: <p>Can someone tell me how to display a corresponding unicode character for a given input hex value</p>
  
  <p>For example, consider I have a buffer which contain data like this 
  [00210028004d015500abffff....]. Now i need to take set of four bytes and then convert that to equivalent unicode character.</p>
  
  <p>So the output of this buffer will be !(M... (Don't know what are the unicode equivalent of 0155,00ab,ffff)</p>
  
  <p>I can use a code like this to print an ascii char </p>
  
  <pre><code>    int t=65;
      char asciiChar = static_cast&lt;char&gt;(t);
      printf("%s",asciiChar);
  </code></pre>
  
  <p>and the output will be 'A'</p>
  
  <p>Similarly is there any method to get Unicode chars</p>
  
  <p>Thanks</p>