Created attachment 344345 [details] examples for selected file from GDrive with WkWebView and without (encoding): problem with utf-8 names on mobile devices with Google Drive or iCloud (copy from https://issues.apache.org/jira/browse/CB-14180) Hallo guys! maybe this is duplicate, but I can't find other ticket... I have problem with mobile devices and external storages, like Google Drive. if I select file with UTF-8 characters, then the plugin can't read this file. I try to upload files like: `Bösefile.jpg` (without empty space) `Böse file.jpg` `Копия Böse file.jpg` `Копия "Копия Böse file.jpg"` etc... Angular ngf-select plugin show, that the file has always filesize=0 and filename was written broken too. If I select file with normal name, then file size was written correct: same code on desktop app work good. Has anybody same problem? any "dirty" fix for this? _ *update* So... I tested on my different apps. The problem exist if I use `WKWebView`, with normal View work fine...
Would you by any chance have a reproduction case? It would help a lot. Also, could you please clarify what you mean by "Normal" View, do you mean UIWebView? I would not expect any behavior difference between UIWebView and WKWebView when it comes to FileSystem since such code resides at the lower WebCore layer.
+Andy / Wenson as I suspect this could be an iOS file picker issue.
I tried: - On iOS 12 / iPhone, go to http://jsfiddle.net/danialfarid/0mz6ff9o/135/ (sample page relying on ng-file-upload) - Select an image named 'Bösefile.jpg' from icloud -> The image uploaded file and the filename was correct. I am therefore not able to reproduce the issue. Having a reproduction case would be extremely helpful here.
(In reply to Chris Dumez from comment #3) > I tried: > - On iOS 12 / iPhone, go to http://jsfiddle.net/danialfarid/0mz6ff9o/135/ > (sample page relying on ng-file-upload) > - Select an image named 'Bösefile.jpg' from icloud > > -> The image uploaded file and the filename was correct. > > I am therefore not able to reproduce the issue. > > Having a reproduction case would be extremely helpful here. I tried the same steps but with Google Drive instead of iCloud and still could not reproduce the issue in MobileSafari.
Hallo Chris, I'm sorry, I got no notifications about comments. I do asap test-app and send link later. Thank you!
@Chris Related tickets: https://github.com/danialfarid/ng-file-upload/issues/2082 https://issues.apache.org/jira/browse/CB-14180 https://bugs.webkit.org/show_bug.cgi?id=187354 Demo Video: https://youtu.be/NrEzK5FBYz8 Demo App: https://github.com/WuglyakBolgoink/WkWebViewEngingeTesting