I've just downloaded Visual studio 2019, but I have a problem with string encoding. This is my code in C++:
cout << "èà" << "\n" << endl;
string str;
cout << "Write something: "
cin >> str;
cout << str << endl
The output of the first line is:
èà
If I give "èà" as input at line 5 though, the output is:
èà
I can't understand why. Can you help me please?
The source file encoding is UTF-8, I've already checked.
Please, be specific in your answers, because I've just started with Visual Studio.