WinMerge / winmerge

WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.
https://winmerge.org/
GNU General Public License v2.0
6.6k stars 804 forks source link

Unicode Normalization Issue in Folder Comparison (Files marked different - but actually are not) #2132

Open sdottaka opened 11 months ago

sdottaka commented 11 months ago

When comparing folders in file systems with different Unicode normalizations, file or folder names that include characters with diacritical marks are treated as different names, even though they appear to match

Discussed in https://github.com/WinMerge/winmerge/discussions/2121

Originally posted by **baumaeschi** November 25, 2023 When using Winmerge to compare two folder/file trees, I realized that many files were marked grey to exist "only right" or "only left" but exist on both sides and their contents are equal. Can anyone explain to me why these files are marked as shown in the attached example? ![Example_Winmerge](https://github.com/WinMerge/winmerge/assets/14115465/5b7ce1a8-cfea-41c5-a185-4da5a49ae0a5)
baumaeschi commented 11 months ago

Thank you so much for creating this issue!

alprozbk commented 6 months ago

Hello, I am suffering the same issue for Turkish specific character. I hope an implementation can be made asap.

https://github.com/WinMerge/winmerge/discussions/2302

But to walk around the issue, it would be better to find an bulk name conversion app that can change and match the UTF codes. We can process the both side, then analyze by WinMerge.

Do you know an freeware application to do so?