How Exactly Do I Deal With Japanese Characters in C ?
#include <iostream>#include <string>
using namespace std;
int main()
{
wstring nihongo = L"みんなのにほんご";
wcout << nihongo << endl;
return 0;
}
C:UsersLeonneLeomediaMetaDatterTest.cpp|7|error: stray '201' in program|
C:UsersLeonneLeomediaMetaDatterTest.cpp|7|error: stray '@' in program|
C:UsersLeonneLeomediaMetaDatterTest.cpp||In function 'int main()':|
C:UsersLeonneLeomediaMetaDatterTest.cpp|7|error: converting to execution character set: Illegal byte sequence|
||=== Build finished: 3 errors, 0 warnings ===|