[TC 11.00 and older] Compare directories over network / diacritic characters
Moderators: Hacker, petermad, Stefan2, white
- kamilbaranski
- Junior Member
- Posts: 5
- Joined: 2007-12-31, 19:22 UTC
- Location: Poland
- Contact:
[TC 11.00 and older] Compare directories over network / diacritic characters
Image: https://ibb.co/2kWJnRs
When comparing local directories with the ones over the network, diacritic characters are treated as different ones. However, in the next step (sync) TC asks if we want to replace existing files.
Here I'm comparing the Win10 (local) with MacOS 10.15.7 (network).
When comparing local directories with the ones over the network, diacritic characters are treated as different ones. However, in the next step (sync) TC asks if we want to replace existing files.
Here I'm comparing the Win10 (local) with MacOS 10.15.7 (network).
Greetings • Have a nice day! • http://kamilbaranski.com/
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
About the exact same files that have been found to have different names in the comparison?kamilbaranski wrote: 2023-10-09, 10:34 UTCHowever, in the next step (sync) TC asks if we want to replace existing files.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
The reason is MacOS: It stores diacritics differently from Windows, so they are indeed separate directories.
For example,
Windows stores é as a single character, while
MacOS stores it as e plus separate accent ´.
For example,
Windows stores é as a single character, while
MacOS stores it as e plus separate accent ´.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- kamilbaranski
- Junior Member
- Posts: 5
- Joined: 2007-12-31, 19:22 UTC
- Location: Poland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
Yes, can we have a fix for this? If there's later the "overwrite question" dialog, I assume we can find out if these are the same files/directories. Otherwise the compare directories function is useless for such files.The reason is MacOS: It stores diacritics differently from Windows, so they are indeed separate directories.
Greetings • Have a nice day! • http://kamilbaranski.com/
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
No we can't. The problem is that these two directories can actually both exist at the same time on the same drive, in the same subdirectory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
Moderator message
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- kamilbaranski
- Junior Member
- Posts: 5
- Joined: 2007-12-31, 19:22 UTC
- Location: Poland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
I understand. However I'd suggest a convenient solution:ghisler(Author) wrote: 2023-10-11, 09:40 UTC No we can't. The problem is that these two directories can actually both exist at the same time on the same drive, in the same subdirectory.
Could we have the checkbox like a "Ignore diacritic characters" next to the "Ignore date" checkbox?
Greetings • Have a nice day! • http://kamilbaranski.com/
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
That would be a lot more difficult, because it would also have to match names with diacritics with names where they are completely removed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
kamilbaranski,
What should happen if there is:
?
Roman
Are we talking about "Synchronize Dirs" or "Compare Directories"?Could we have the checkbox like a "Ignore diacritic characters"
What should happen if there is:
Code: Select all
Left: Right:
file name fílé ňámé
file name
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
2Hacker
In your example, the two without diacritics would match. But there can be unsolvable cases like
In your example, the two without diacritics would match. But there can be unsolvable cases like
Code: Select all
Left: Right:
file name fílé ňámé
file nâme
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- kamilbaranski
- Junior Member
- Posts: 5
- Joined: 2007-12-31, 19:22 UTC
- Location: Poland
- Contact:
Re: [TC 11.00 and older] Compare directories over network / diacritic characters
I meant the Synchronize Dirs window - I'm using it to synchronize changes in projects I work on both PC and Mac. At the moment I need to additionally check all these files by hand... (This is time-consuming and may introduce mistakes.)Hacker wrote:Are we talking about "Synchronize Dirs" or "Compare Directories"?
In my example there are no such files, but I understand Christian must predict this behavior. I'm not sure what is the proper way to sync files "file name" and "fílé ňámé". I think the "ignore date" works only when comparing files, so should probably "ignore diacritics" - as "Ignore date" doesn't additionally handle the date of the file when syncing/replacing them.
I understand Apple is the one to blame here (not the first time though

Greetings • Have a nice day! • http://kamilbaranski.com/