title: Why do I get a number instead of a Unicode character?
body: <p>I wrote this code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main()
  {
     std::wcout &lt;&lt; '\u00E1' &lt;&lt; std::endl;
  }
  </code></pre>
  
  <p>But <a href="http://ideone.com/e6zXCy" rel="nofollow">it outputs <code>50081</code> when compiled with GCC 4.8.1</a>.</p>
  
  <p>I'm probably doing something wrong, but I certainly wouldn't expect a number to be output. What's going on?</p>