Sign in to follow this  
ccanan

warning C4819 in d3d9types.h

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Quote:
Original post by taby
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.
I belive MSVC lets you do this too if you chose "Save As".

Have you edited the file in some way, though? Normally that file shouldn't contain any unicode characters...

EDIT: Bah, too slow [smile]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this