Answer the question
In order to leave comments, you need to log in
Hieroglyphs instead of Cyrillic in c++?
In short, I have already tried hundreds of all these setLocale, everywhere, in all IDEs, there is no Cyrillic alphabet everywhere. I've been suffering for 2 days now. What the Cyrillic input depends on, maybe the compiler is junk there or something.
Answer the question
In order to leave comments, you need to log in
Before us is UTF-8. Convert the source to a working encoding (usually DOS-866 or Windows-1251).
Or work in wide lines. I got this source on MinGW 5.3.
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "rus");
wcout << L"Превед!" << endl;
return 0;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question