title: How to print unicode codepoint?
body: <p>How can I print unicode codepoint as unicode character in C++ (gcc/clang) on Linux?
  Let say I have something like this:</p>
  
  <pre><code>typedef uint32_t codepoint;
  codepoint cp = somefunction();
  </code></pre>
  
  <p>How can I print cp as single unicode character? I have en_US.UTF-8 locale.</p>
  
  <p>I've searched SO, I've tried:  wcout, wstring, wchar_t, setlocale, codecvt (no existent in gcc). </p>