SetConsoleOutputCP(CP_UTF8) no output


Hello. Hope you all are doing well!


When I use SetConsoleOutputCP(CP_UTF8) only the first 4-6 cout calls gets outputed in the console, nothing else gets outputed after that. The application is still working even if the output stops.

However, when I run my program without SetConsoleOutputCP(CP_UTF8), everything is outputed, no problems.


Anyone know what's up with SetConsoleOutputCP(CP_UTF8)?

Last edited on
Topic archived. No new replies allowed.