I have a few questions in trying to understand different encodings.
What is the default encoding for strings?
char ascii[]= "Some text"; // This is plain ASCII right?
wchar_t utf[] = L"Some Text"; // Is this UTF-16? Or ASCII stored in wchar_t's?
MessageBoxW(NULL, L"Hello", L"HI", MB_OK); // What encodings are the 2 strings in?
And then, how would I create a UTF-8 string? If I wanted to display UTF-8 characters in a MessageBox?
My questions are mostly directed at Windows by the way, but if it's different on different OSes I'm interested to know.