4

I have a setup to transfer my files from my Windows machine to my Android phone via Syncthing. I notice that some files whose names have emojis are renamed to strange Chinese characters:

  • 🌒 Cߌ⠃
  • 🌓 Cߌ㠃
  • 🌔 Tߌ䠔
  • 🌕 Nߌ堎

As the result in my phone they are write-protected. I'm unable to delete them:

However files whose name contains this emoji ✔️ are not affected.

Not sure if this is relevant to the problem, but for full information, when I try to remove this protection, diskpart doesn't detect my Android phone.

Next in line: Why are files with wrong character encoding name write-protected?

2
  • 1
    You only have MTP access to your phone. It appears to have problems with the character set. You must deal with this on the phone itself, which is sort-of off-topic here on Super User.
    – Daniel B
    Nov 9, 2022 at 5:44
  • The cause is possibly due to wrong character encoding (similar case: Receiving Chinese blocks of texts in the Messaging app). Not sure how to fix it since I'm not familiar with Syncthing though.
    – Andrew T.
    Nov 9, 2022 at 6:41

1 Answer 1

3

Andrew nailed it in his comment. You can see a similar issue reported between other Operating Systems and duplicate file names, here Unicode errors while syncing between Mac OS X and Linux

Maintainer of Syncthing says

... People moving files between systems have historically been stoically accepting of special characters getting mangled. Nobody in Sweden is that surprised when a file räksmörgås ends up being called r‰ksmˆrgÂs. That’s fine. But it doesn’t work when we need to sync changes bidirectionally between systems with different encodings...

(Emphasis supplied)

Background to the above discussion is the closure of this issue Sync between Linux and OS X causes massive unicode errors

2
  • 1
    do you know how to delete these files? diskpart doesn't detect my phone
    – Ooker
    Feb 26, 2023 at 16:21
  • 1
    Sorry, no idea about that
    – beeshyams
    May 2, 2023 at 8:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .