cout wchar_t code example Example: cout wchar_t Use std::wcout instead of std::cout. wcout << txt << endl;