Re: Shlwapi: Add IntlStrEqWorker Functions and StrCmp Tests

2004-02-13 Thread Shachar Shemesh
Robert Shearman wrote: Alexandre Julliard wrote: DBCS chars depend on the locale, you cannot hardcode them in the test. Any way of generating them based on the locale or should I just remove the DBCS tests? DBCS is only meant to work if the current locale is an MBCS locale. What I woul

Re: Shlwapi: Add IntlStrEqWorker Functions and StrCmp Tests

2004-02-12 Thread Alexandre Julliard
"Robert Shearman" <[EMAIL PROTECTED]> writes: > Any way of generating them based on the locale or should I just remove the > DBCS tests? You could use IsDBCSLeadByte and friends, but most locales don't have DBCS chars at all so it wouldn't help much. An alternative would be to switch to a DBCS lo

RE: Shlwapi: Add IntlStrEqWorker Functions and StrCmp Tests

2004-02-12 Thread Robert Shearman
Alexandre Julliard wrote: > > DBCS chars depend on the locale, you cannot hardcode them in the test. Any way of generating them based on the locale or should I just remove the DBCS tests? > -- > Alexandre Julliard > [EMAIL PROTECTED] Rob

Re: Shlwapi: Add IntlStrEqWorker Functions and StrCmp Tests

2004-02-12 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> 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 db