You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Linux] Support non-utf8 locale for filename #5719
Related #5676[Feature] Filename encoding with gbk standard should be supported
<ogoffart> There is no concept of fs encoding on linux
<ogoffart> Everything has to be encoded with the locale
<jturcotte> You'll also have to deal with chars that you can't convert to his encoding, and you want to make sure that if the user modifies that file that it's sent back to the server with the right name.
<jturcotte> And if the user sees blah???.png weird characters in the file, maybe he'll feel like he has to rename it too, so it shouldn't look too weird.
Challenges: How to handle invalid encodings? #4811 (comment)
Activity
[-]Convert local file name encoding to utf8 on server?[/-][+][Linux] Support non-utf8 locale for filename[/+]ogoffart commentedon Apr 22, 2017
(I changed the title because there is no need to involve the server, it's purely a client issue)
How to handle invalid encoding?: The way we currently do it in SyncEngine::treewalkFile, for example.
client/src/libsync/syncengine.cpp
Line 364 in e86499d
(however this has to happen at the time of conversion from the system locale, which has to happen in csync, before the reconcile phase.)
csync: Use Qt for encodeing/decoding filesystem strings
guruz commentedon Nov 6, 2017
Moving to 2.5 as #5676 was moved too
ogoffart commentedon Nov 21, 2017
Duplicate of #5676
csync_update: ignore remote files that cannot be encoded
csync_update: ignore remote files that cannot be encoded
Ignore files that can't be encoded for the filesystem
Ignore files that can't be encoded for the filesystem
Ignore files that can't be encoded for the filesystem