title: Assigning non-ASCII characters to wide char and printing with printf
body: <p>How can I assign non-ASCII characters to a wide char and print it to the console? This code down doesn't work:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main(void)
  {
      wchar_t wc = L'ć';
      printf("%lc\n", wc);
      printf("%ld\n", wc);
      return 0;
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>263
  Press [Enter] to close the terminal ...
  </code></pre>
  
  <p>I'm using MinGW GCC on Windows 7.</p>