When I compile CUDA program, VS2010 generated thousands warning of C4819, like follow:
c:\program files\nvidia gpu computing toolkit\cuda\v7.5\include\device_functions_decls.h(1903): 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
As the waring shows, it have data loss risk.
Is there any solution to avoid data loss risk and repair the waring(not disable the warning).
I’m a Japanese user and installed CUDA toolkit 10.0 recently. When first ran a program using CUDA, I received hundreds of warnings like one below:
c:\program files\nvidia gpu computing toolkit\cuda\v10.0\include\sm_20_intrinsics.h(926) : warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
Looking at this page,
this is indeed related to the Japanese language, although the system language is set to English.