title: wcin gets wrong character input?
body: <p>The following code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using std::wcin;
  using std::wcout;
  using std::locale;
  
  
  int main()
  {
      locale::global(locale("Portuguese_Brazil"));
  
      wcout &lt;&lt; "wcin Test using \"ção\": "; // shows that wcout works properly
      wchar_t wcinTest[] = L"";
      wcin &gt;&gt; wcinTest;
      wcout &lt;&lt; wcinTest &lt;&lt; " should be \"ção\".";
  
      return 0;
  }
  </code></pre>
  
  <p>Results in:</p>
  
  <pre><code>wcin Test using "ção": ção
  ╬Æo should be "ção".
  </code></pre>
  
  <p>The ╬ character is U+2021 or 8225, and the ç is U+00E7 or 231.</p>
  
  <p>I changed mult-bytes option, set and not set UNICODE in project properties. Nothing worked.</p>
  
  <p>I already set the console font into Consolas, a true type font capable of displaying the ç character correctly.</p>
  
  <p>I'd like this as simple and reproducible possible to use as a standard practice for future UNICODE console applications.</p>
  
  <p>Any ideas?</p>