On Sun Oct 20 15:44:03 2024 +0000, Piotr Caban wrote:
I think it's _tolower_l/_toupper_l that needs to be fixed (and C locale handling in strnicmp). Please also add tests with unsigned char cast:
ret = _tolower_l((unsigned char)'\xa5', 0); ok(ret == 0xa5, "Got %d.\n", ret); ret = _tolower_l((unsigned char)'\xb9', 0); ok(ret == 0xb9, "Got %d.\n", ret);
You are right, I sent another try. Thanks!