Warning c4819: The file contains a character that can ot be represented in the current Code Page (936). Save the file in unicode format to prevent data loss.
This file cannot be included in the currentCodeTo prevent data loss.
In general, this warning has no effect. Methods to remove this warning include:
(1) convert the code file to unicode format;
(2) in project-> properties-> Configuration properties-> C/C ++-> advance's disable specific warnings, add the corresponding warning number: 4819;
(3) locate a file that does not conform to the unicode format, and add the following statement at the beginning of the file:
# Pragma warning (Disable: 4819)
(4) which file has this warning error? Open it and use the search and replace function of vs2005. Open the option that allows regular expressions, select the current window, and replace/n with/n. Then, the world is clean. Cause: the searched/N is a cross-platform carriage return. The replaced/N is the carriage return of the current Code Page.
In the original article (4), I directly overwrote the error message ~ Or use Notepad ++ to convert the encoding format ..... Try again later (4)