If .cpp file contains the multi-byte character compile error will occur.For example to compile controls4u_demo occur:
Controls4U.cpp
C:\upp\bazaar\Controls4U\Controls4U.cpp : warning C4819: The file contains a character that cannot be represe
nted in the current code page (936). Save the file in Unicode format to prevent data loss
C:\upp\bazaar\Controls4U\Controls4U.cpp(406) : error C2001: newline in constant
C:\upp\bazaar\Controls4U\Controls4U.cpp(407) : error C2143: syntax error : missing ')' before 'return'
F:\MyApps\jishu\main.cpp : warning C4819: The file contains a character that cannot be represented in the cur
rent code page (936). Save the file in Unicode format to prevent data loss
F:\MyApps\jishu\main.cpp(39) : error C2001: newline in constant
F:\MyApps\jishu\main.cpp(41) : error C2143: syntax error : missing ')' before '}'
F:\MyApps\jishu\main.cpp(41) : error C2143: syntax error : missing ';' before '}'
Eh, still the same issue - Chinesse Windows Visual C++ does not permit UTF-8 strings. There does snot seem to be way around.
At least we have now introduced the fix for .t files. Means if you make your app English and provide translation, you are OK.