I\'m trying to use new unicode characters in C++0x. So I wrote sample code:
#include
#include
int main()
{
std::u32string
In new C++ standard there will not be Unicode streams.
As @ssmir mentioned, standard committee was going to add stream support for Unicode in C++0x. However in the feature editions committee decided to remove stream support for Unicode. For more information see this link.
It seams like the only way to output Unicode string is to convert it to ASCII string with codecvt .