by Michael S. Kaplan, published on 2007/04/27 23:36 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2007/04/27/2307814.aspx
Vivek's question over in the microsoft.public.win32.programmer.international newsgroup really confused me:
What is the sizeof wchar_t / WCHAR on WIN64 platforms? Is it 4 bytes and
UTF32 or same as WIN32 -- 2 bytes and UTF16?
I wasn't confused due to not knowing the answer, which is the latter (as David Lowndes pointed out).
My confusion was why the person asking was expecting that while the 32-bit platform support UTF-16 that the 64-bit platform would support UTF-32.
Maybe the thought was that it would be some kind of special on the characters Windows supports -- 50% off? :-)
This post brought to you by ඇ (U+0d87, a.k.a. SINHALA LETTER AEYANNA)