The document is archived and information here might be outdated
Compiler Warning (level 1) C4821
Visual Studio 2005
Error MessageUnable to determine Unicode encoding type, please save the file with signature (BOM)
The compiler could not determine the encoding type for a file. To resolve this warning, save the file with a byte order marker. See Managing Files with Encoding for more information.