wchar_t *T = L"XXXXXXXXXX";
int main()
{
return 0;
}
g++ main.cpp -o main.exe
main.cpp:1:20: converting to execution character set:
Illegal byte sequence
make: *** [bugtest] Error 1
I've try it on Linux, no error
MinGW-3.2.0-rc-3, WindowsXP SP1
the wide char string "XXXXXXXXXX" consists of some
East Asia characters, which can not be displayed
correctly on this page. so, please check out the
attachment below.
the source file