Here's the thing (https://learn.microsoft.com/en-us/cpp/build/reference/source-charset-set-source-character-set) that I know all about VC++ /source-charset and /execution-charset.
So there are 3 things I need to keep the same (if anything wrong, please correct me):
- source file encoding
- the /source-charset setting (determine how the compiler would interpret my source file)
- the /execution-charset setting (determine how the compiler would interpret "the output stuff" from stage 2 into executable.
So, if I save source file with encodingA, set /source-charset and /execution-charset as encodingA, and have code wchar_t c = L'é'; or char16_t c = u'é';  or char32_t c = U'é',
will the program change the code unit of é depending on encodingA I choose during the "interpreting"?
Or é's code unit would never change no matter what encoding I choose?
(Don't concern about the console output)
 
     
     
    