Ditto icon indicating copy to clipboard operation
Ditto copied to clipboard

Search is case sensitive for non Latin chars whereas it is case insensitive for Latin chars.

Open AndriyAstakhov opened this issue 2 years ago • 9 comments

I've updated from version 3.22.88.0 12-20-2019 (where everything works perfectly) to the latest 3.24.238.0 10-04-2022 and faced with the next problem: regardless what search option is selected ("Contains Text Search", "Regular Expression Search", "Wildcard Search") when I search in English - the search is case insensitive and when I search in Ukrainian or Russian - it is become case sensitive. Please see demonstration video here - https://www.dropbox.com/s/mbegvfwejlrabj8/Case%20sensetive%20problem.mp4?dl=0 (I search for words: "photo", "Photo", "добре", "Добре"). I believe that search always should be case insensitive regardless what chars are used. I noticed that in version history for 3.23.124.0 10-26-2020 was entry "Removed icu dlls, use dll included in windows". Maybe the problem was raised because of this?

Update: I rollback to the version 3.22.88.0 12-20-2019 and it works as expected. Please see video here - https://www.dropbox.com/s/rg0vxgadyfvo2ci/Case%20sensetive%20right%20behaviour.mp4?dl=0

AndriyAstakhov avatar Oct 21 '22 18:10 AndriyAstakhov

What version of windows are you using. It should be using icu dlls included with windows. Check for icu.dll in c:\windows\system32\

sabrogden avatar Oct 22 '22 17:10 sabrogden

Windows 7 Ultimate SP1 Ru And there no icu.dll in its "c:\windows\system32" folder.

AndriyAstakhov avatar Oct 22 '22 17:10 AndriyAstakhov

rename the file icudt58.dll that was included with 3.22.88.0 and rename it to icu.dll and place in the same location as Ditto.exe

sabrogden avatar Oct 22 '22 18:10 sabrogden

i don't think windows 7 includes icu, probably 8 and up

sabrogden avatar Oct 22 '22 18:10 sabrogden

rename the file icudt58.dll that was included with 3.22.88.0 and rename it to icu.dll and place in the same location as Ditto.exe

I tried your workaround, but it didn't work. So it seems this behavior is not ICU related.

AndriyAstakhov avatar Oct 22 '22 19:10 AndriyAstakhov

It's got to be icu related. Try adding these icu dlls to Ditto's directory, these are the dlls windows includes in windows 10.

icu.zip

sabrogden avatar Oct 22 '22 23:10 sabrogden

It's got to be icu related. Try adding these icu dlls to Ditto's directory, these are the dlls windows includes in windows 10.

icu.zip

I tried ICU dlls from your archive but the behavior remains unchanged.

AndriyAstakhov avatar Oct 23 '22 14:10 AndriyAstakhov

I also tried latest version on: Windows 10 - everything works good - as it expected. Windows 2008 R2 Enterprise - the behavior is the same as on Windows 7 - only search with Latin chars are case insensitive, whereas with non Latin (Cyrillic) chars are case sensitive.

AndriyAstakhov avatar Oct 25 '22 17:10 AndriyAstakhov

I also tried latest version on: Windows 10 - everything works good - as it expected. Windows 2008 R2 Enterprise - the behavior is the same as on Windows 7

Sorry for bumping this older thread... I just wanted to add that this probably makes sense, as ICU was only added as a system component in Windows 10. So Windows 2008 wouldn't have the icu.dll in system32.

jefgen avatar Oct 29 '23 20:10 jefgen