warning C4819 in d3d9types.h
Warning 2 warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss c:\program files\microsoft directx sdk (february 2006)\include\d3d9types.h 1385
well this warning do no harms to my code as I see.
but I don't the warnings in the output of every build.
how to save the file in unicode format?
or other solution?
EDIT: Made subject line more specific.
[Edited by - jollyjeffers on November 8, 2006 3:38:58 AM]
If you open the file in Notepad, then Save As... there should be an Encoding option at the very bottom of the dialog. Choose Unicode.
You can also do this directly from Visual Studio: "File" menu -> "Advanced Save Options".
hth
Jack
hth
Jack
Quote:Original post by tabyI belive MSVC lets you do this too if you chose "Save As".
If you open the file in Notepad, then Save As... there should be an Encoding option at the very bottom of the dialog. Choose Unicode.
Have you edited the file in some way, though? Normally that file shouldn't contain any unicode characters...
EDIT: Bah, too slow [smile]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement