warning C4819: How to find the character that has to be saved in unicode?

后端 未结 5 1909
太阳男子
太阳男子 2021-01-30 22:57

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

5条回答
  •  独厮守ぢ
    2021-01-31 00:04

    Basically, you might have compiled a file which is encoded in another charset that is not the default charset of your operating system. One way is to delete those characters that can not decoded by your default encoding, but I prefer the other way which is just using Notepad++ to trans-coding your file. To achieve this goal, click Encoding->Convert To xxx, where xxx is your operating system default encoding.

提交回复
热议问题