12 Feb
2004
12 Feb
'04
9:04 p.m.
Robert Shearman <R.J.Shearman(a)warwick.ac.uk> writes:
+void test_StrCmpA(void) +{ + static const char str1[] = {'a','b','c','d','e','f',0x81,'a',0}; + static const char str2[] = {'a','b','c','d','e','f',0x81,'b',0}; + static const char str3[] = {'a','B','c','d','e','f',0x81,'a',0}; + WORD dbcs1 = 0x81 | 'a' << 8; + WORD dbcs2 = 0x81 | 'b' << 8;
DBCS chars depend on the locale, you cannot hardcode them in the test. -- Alexandre Julliard julliard(a)winehq.com