title: Unicode into symbol C++
body: <p>I want to convert my unicode string (unic) which is &quot;U+XXXX&quot; to &quot;\uxxxx&quot; so I  could print a symbol, yet I get the following error: incomplete universal character name \u|</p>
  <p>How would I make a working symbol code &quot;\uxxxx&quot; from having a string of &quot;U+xxxx&quot;?</p>
  <p>My code:</p>
  <pre><code>string unic = &quot;U+xxxx&quot;;
  unic.substr(2);
  string symb=&quot;\u&quot;;
  unic.insert(0, symb);
  cout&lt;&lt;unic&lt;&lt;endl;
  </code></pre>