The file contains a character that cannot be represented in the current code page
-
Hello, I am trying to convert my project to use Visual C++ 2005. However, when I compile my project, I get a lot of warning message like this, c:\dxsdk\include\d3d9types.h(1385) : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss How can I fix this? Thanks!
Nacho
-
Hello, I am trying to convert my project to use Visual C++ 2005. However, when I compile my project, I get a lot of warning message like this, c:\dxsdk\include\d3d9types.h(1385) : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss How can I fix this? Thanks!
Nacho
Save the file d3d9types.h in unicode encoding.
Nobody can give you wiser advice than yourself. - Cicero
-
Save the file d3d9types.h in unicode encoding.
Nobody can give you wiser advice than yourself. - Cicero
Is this the only way, since I have a lot of other files have similar problems, is it means that I need to re-save all those files? Thanks!
Nacho
-
Is this the only way, since I have a lot of other files have similar problems, is it means that I need to re-save all those files? Thanks!
Nacho
Nacho Chip wrote:
is it means that I need to re-save all those files?
Yes. Save all such files in unicode encoding. You must have entered unicode characters into those files and so you will need to save it in unicode encoding to avoid data loss.
Nobody can give you wiser advice than yourself. - Cicero
-
Hello, I am trying to convert my project to use Visual C++ 2005. However, when I compile my project, I get a lot of warning message like this, c:\dxsdk\include\d3d9types.h(1385) : warning C4819: The file contains a character that cannot be represented in the current code page (950). Save the file in Unicode format to prevent data loss How can I fix this? Thanks!
Nacho
See List of bugs that are fixed in Visual Studio 2005 Service Pack 1[^] and see 912790 on that page
WhiteSky