I have seen the following warning recently through my VS2010.
Warning 21 warning C4819: The file contains a character that cannot be represented in the current code pag
I met this problem in my project and tried to modify all non-unicode characters. But I had to give up and found a another way, as there were too many files with such problem (even though all of them are in comments).
Then I found a quick way to fix this by setting 'system locale'.
Control Panel -> Clock,Language,and Region -> Region and Language ->
Administrative -> Language for non-Unicode programs -> Change system locale -> English
I think this could fix your problem if your 'system locale' is not English.
https://stackoverflow.com/a/37871883/3148107