title: Printing a Unicode Symbol in C
body: <p>I'm trying to print a unicode star character (<a href="http://www.fileformat.info/info/unicode/char/2605/index.htm" rel="noreferrer">0x2605</a>) in a linux terminal using C. I've followed the syntax suggested by other answers on the site, but I'm not getting an output:</p>
  
  <pre class="lang-c prettyprint-override"><code>#include &lt;stdio.h&gt;
  #include &lt;wchar.h&gt;
  
  int main(){
  
      wchar_t star = 0x2605;
      wprintf(L"%c\n", star);
  
      return 0;
  }
  </code></pre>
  
  <p>I'd appreciate any suggestions, especially how I can make this work with the <code>ncurses</code> library.</p>