Filter inconsistencies (bug?)
Posted: Wed May 20, 2015 8:53 pm
If you try the following:
You get every version of smart (SMART,SMARt,SmArT,smart) but if you do the following:
You only get Nöje,NöJe,nöje. i.e. all items where the lowercase 'ö' matches the lowercase 'ö' in nöje. All items with uppcase 'Ö' will be removed
You get the same result with ä vs Ä, å vs Å, é vs É etc. I.e. all characters with combined diacritical marks will not match case insensitive. Is this a bug or what?
If I do the following code:
The answer is "YES"...
:-Håkan (Which doesn't match HÅKAN when filtering...)
Code: Select all
put "SMART,SMARt,SmArT,smart,Nöje,NÖJE,NöJe,nöje,NÖje" into tStr
filter items of tStr with "smart"
Code: Select all
put "SMART,SMARt,SmArT,smart,Nöje,NÖJE,NöJe,nöje,NÖje" into tStr
filter items of tStr with "nöje"
You get the same result with ä vs Ä, å vs Å, é vs É etc. I.e. all characters with combined diacritical marks will not match case insensitive. Is this a bug or what?
If I do the following code:
Code: Select all
if "nöje" is "NÖJE" then
answer "YES"
else
answer "NO"
end if
:-Håkan (Which doesn't match HÅKAN when filtering...)