-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OC 10.0][OS X] libsync is able to download files with 4 byte-unicode names but upload etc #5661
Comments
Note that this might be macOS specific because we have to do file name mangling on macOS https://github.com/owncloud/client/search?utf8=%E2%9C%93&q=normalization&type= . How does it look on other OS? @michaelstingl this would mandate an earlier 2.3.2 |
@guruz you're right, I assumed the name-conversion error was platform-independent but just tried with Win10 and no flags were raised there. My bad 😅 |
Works for me |
I bet that's because iconv can't convert the string on macOS (cf. #2777 ) i.e: c_utf8_from_locale returns a null string in csync_vio_local_readdir. (because the iconv call itself returns null in c_iconv) This used to block the whole sync before commit f6cd2c7, but now such file are simply ignored. So I believe this is a bug in iconv. Maybe we simply need to update iconv. |
We use the system iconv. @ogoffart Any proposal for your Qt code? |
This is messy. I'm trying a few things but I think this is too invasive for a patch release. |
@michaelstingl @pmaier1 Moving to 2.4, the needed patch is too invasive |
👍 |
4 byte-unicode (a.k.a. emoji) filenames are supported in ownCloud 10.0 (owncloud/core#4513)
Expected behavior
The client should be able to handle this filenames as long as the underlying filesystem supports them as well.
Actual behavior
v2.3.1
)Solving this will be enough to close some old issues:
The text was updated successfully, but these errors were encountered: