Question: how to change visual studio encoding?
Answer: Open the project Property Pages dialog box. ... , Select the Configuration Properties > C/C++ > Command Line property page., In Additional Options, add the /utf-8 option to specify your preferred encoding., Choose OK to save your changes.