For example:
cout << \"你好\" << endl;
The Windows console supports Unicode, partially. It does not support, for example, right-to-left languages.
Your example with cout does not output unicode. Use wcout instead. Or use WriteConsoleW
cout
wcout