title: How to output unicode characters in C/C++
body: <p>I have problems with outputing unicode characters in Windows console.
  I am using Windows XP and Code Blocks 12.11 with mingw32-g++ compiler.</p>
  
  <p>What is the proper way to output unicode characters in Windows console with C or C++?</p>
  
  <p>This is my C++ code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  
  using namespace std;
  
  int main()
  {
      cout &lt;&lt; "šđčćžŠĐČĆŽ" &lt;&lt; endl; // doesn't work
  
      string s = "šđčćžŠĐČĆŽ";
      cout &lt;&lt; s &lt;&lt; endl;            // doesn't work
  
      return 0;
  }
  </code></pre>
  
  <p>Thanks in advance. :)</p>