"english language"
- OK "other language"
- OK L"english language"
- OK L"other language"
- error: converting to execution character set: Illegal byte sequence
For example:
#include <iostream>
using namespace std;
int main()
{
wcout << L"ś" << endl;
return 0;
}
Gives that error.
I'm using the newest version of MinGW c++ compiler and I want to make multi-language application and that's the main problem for now.
The problem was with my IDE. It was saving source files in bad encoding, changing it to UTF-8 solved it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.