Re: [try 2] user32: GetMenuStringA now returns correct buffer length for multibyte menu text. (with test)
3 Jul
2008
3 Jul
'08
10:38 a.m.
"Huang, Zhangrong" <hzhrong(a)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. -- Alexandre Julliard julliard(a)winehq.org
6372
Age (days ago)
6372
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard