Unexpected output of std::wcout << L"élève"; in Windows Shell
Posted
by chmike
on Stack Overflow
See other posts from Stack Overflow
or by chmike
Published on 2009-04-06T13:07:01Z
Indexed on
2010/06/18
1:33 UTC
Read the original article
Hit count: 419
While testing some functions to convert strings between wchar_t and utf8 I met the following weird result with Visual C++ express 2008
std::wcout << L"élève" << std::endl;
prints out "ÚlÞve:" which is obviously not what is expected.
This is obviously a bug. How can that be ? How am I suppose to deal with such "feature" ?
© Stack Overflow or respective owner