Unicode, Schmunicode.
After the whole Orkut controversy on its sorely lacking Unicode facilities, I present..
#include
#include
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
LPCWSTR szFoo = L"アダム";
LPCWSTR szBar = L"메롱";
MessageBoxW(NULL,szFoo,szBar, MB_OK);
return 0;
}
Now that wasn't hard, was it? Why in the hell other developers can't write code that's Unicode friendly is beyond me.
What, you mean people use things other than the Western alphabet? *shock*

Leave a comment