Some Turkish characters are not synchronizing!

There is a character named İ in Turkish alphabet. If I use them on file or folder name, syncing doesn’t work and I get this error message;

2025-12-19 23:17:59: Aborted scan of path ‘Notes/İnceleme.md’ due to an unexpected error: file does not exist

I know some characters forbidden some systems. But this character is not one of them. And I can create file and folder using `İ` letter my mac and android device.

Are there any solution for this?

OK, I see. There’s some funkiness here in how either Syncthing or macOS handles the normalisation. One of these work, the other doesn’t:

% ls
İnceleme.md	İnceleme.md2

ls | hd
00000000  c4 b0 6e 63 65 6c 65 6d  65 2e 6d 64 0a 49 cc 87  |..nceleme.md.I..|
00000010  6e 63 65 6c 65 6d 65 2e  6d 64 32 0a              |nceleme.md2.|

One is how a file is created by the shell (İ is c4 b0), the other is how it’s created by a GUI program like Finder (İ is 49 cc 87)… The marvels of a filesystem that on the one hand cares about normalisation and on the other doesn’t enforce it. I bet the problem is that one or the other isn’t handled properly in case insensitivity (i.e. what a lower case İ is exactly). We have a unit test for precisely that in Syncthing if I remember correctly…

Yup: syncthing/lib/fs/folding_test.go at 801ef0e22d354b23180508b4bde7f2537418569c · syncthing/syncthing · GitHub

We at least tried to do the right thing :sweat_smile:

I understand the source of the problem. In this situation I must use i letter for instead İ letter. I wish there is a better solution for this. Thanks for helping. Have a good day.

1 Like

Turkish İ strikes again. If any of you want to learn more about this. https://sam-cooper.medium.com/the-country-that-broke-kotlin-84bdd0afb237

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.