Answer the question
In order to leave comments, you need to log in
Why does the Cyrillic cout output in C++ produce characters of obscure origin?
After transferring the file via the Internet, it stopped displaying the Cyrillic alphabet correctly, immediately under suspicion was the setting of one of the devices. At the same time, the Cyrillic alphabet in the reminder about the automatic closing of the window looks normal.
I tried the solution with the inclusion
#include <windows.h>
#include <clocale>
int main(int argc, char** argv)
{
setlocale(LC_ALL, "Russian");
SetConsoleOutputCP(1251);
SetConsoleCP(1251);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question