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
"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
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
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