I am trying to make something as simple as this:
#include <iostream> #include <string> using namespace std; int main() { wstring nihongo = L"ăżăăȘăźă«ă»ăă"; wcout << nihongo << endl; return 0; }
But I get the following errors:
C:\Users\Leonne\Leomedia\MetaDatterTest.cpp|7|error: stray '\201' in program| C:\Users\Leonne\Leomedia\MetaDatterTest.cpp|7|error: stray '@' in program| C:\Users\Leonne\Leomedia\MetaDatterTest.cpp||In function 'int main()':| C:\Users\Leonne\Leomedia\MetaDatterTest.cpp|7|error: converting to execution character set: Illegal byte sequence| ||=== Build finished: 3 errors, 0 warnings ===|
I am on a Windows computer and I am trying to make the library as portable as possible, and it should be able to handle any characters: Russian, Japanese, ASCII, that's all.
source share