Unicode, Schmunicode.

| | Comments (0)

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*

Categories

Leave a comment

Gamercard

Recent Flickr Uploads

www.flickr.com
This is a Flickr badge showing public photos from rampage. Make your own badge here.

Recently Played

Archives

Tag Cloud

Support this site!

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by Movable Type