Regression in lstrcmpiA (occurred in late June, NLS related)

Dmitry Timoshkov dmitry at baikal.ru
Wed Oct 1 21:47:05 CDT 2003


"Troy Rollo" <wine at troy.rollo.name> wrote:

> Yes, but it this also means it worked for ASCII-7. Right now it doesn't even 
> work for that. This creates problems for some applications, such as those 
> that incorrectly use lstrcmpA to do binary searches on internal ordered 
> keyword tables where the keywords can include punctuation characters or 
> underscores. It means they fail to find some of their keywords, the result 
> being spurious error results. Since the ASCII-7 range is the same regardless 
> of character set, this wrong use of lstrcmpA happens to work on Windows if 
> all the keywords in such a table are limited to that range.

The source of all of this is the difference between MS and unicode.org
sort weight tables. There is no an easy way to make unicode.org database
look like the MS one unfortunately...

-- 
Dmitry.





More information about the wine-devel mailing list