Depends on your editor, VS2010 uses UTF-8 by default :) Using a specification that the compiler can tell. It can be changed, click the arrow on the "Save" button.
The compiler will turn it into UTF-16LE in the object file, and the rest of the big-endian machines are supported by msv ++, which I know about, ARM kernels are currently running in little-endian mode.