I wrote this code:

```
#include <iostream>

int main()
{
   std::wcout << '\u00E1' << std::endl;
}

```

But [it outputs `50081` when compiled with GCC 4.8.1](http://ideone.com/e6zXCy).

I'm probably doing something wrong, but I certainly wouldn't expect a number to be output. What's going on?