On Mon Dec 5 10:36:32 2022 +0000, Alexandre Julliard wrote:
Instead, convert strings to uppercase beforehand in a
locale-independent way, and compare with wcscmp. You should be able to achieve the same results by using CompareStringOrdinal, without the need to convert strings.
Most of the time the strings were copied to some local buffers already, so I think converting them to uppercase at the same time makes sense. I think it's also slightly more efficient as the same string is often compared in a loop with many others.