title: _tprintf with Unicode characters in a console app
body: <p>I'm doing this simple output from a Unicode-built console application (using C++ and Visual Studio 2008). This code is intended to run on Windows:</p>
  
  <pre><code>_tprintf(L"Some sample string\n");
  </code></pre>
  
  <p>Everything works fine. But if I add an non-ASCII character in there:</p>
  
  <pre><code>_tprintf(L"Some sample € string\n");
  </code></pre>
  
  <p>what gets output to the console is everything until that character:</p>
  
  <blockquote>
    <p>Some sample</p>
  </blockquote>
  
  <p>What am I doing wrong here?</p>