"Huang, Zhangrong" hzhrong@gmail.com writes:
@@ -665,6 +678,26 @@ static void test_menu_add_string( void ) else ok (!ret, "GetMenuStringW on ownerdraw entry succeeded.\n");
- /* test multibyte menu text */
- strcpy(string, "\xce\xc4\xbc\xfe(&F)"); /* CP936 */
You shouldn't hardcode codepage 936. Look at test_dbcs_wm_char() in msg.c to see how to test DBCS chars in a generic way.