Windows NT binary executable file internal const string encoding
<p>Windows NT uses the Unicode (two bytes wide UTF-16) as the default encoding method throughout the Windows NT API. If you choose to use ASCII or multibyte character set as your default character set, they will transform ASCII to Unicode. And use ASCII character set will be slower than Unicode.
What does this transform mean? They only transform ASCII API to Unicode API or transform all the strings?
For example:
If you create a C/C++ file with <code>const char* text = "Hello, world!"</code>. When you compile it on Windows NT, does the compiled binary file store "Hello, world!" as Unicode (26 bytes) or ASCII (13 bytes)?</p>