NEW 187354
Problem with UTF-8 encoding in file names on mobile devices with Cloud Services
https://bugs.webkit.org/show_bug.cgi?id=187354
Summary Problem with UTF-8 encoding in file names on mobile devices with Cloud Services
Yelskirt Busbupps
Reported 2018-07-05 11:52:06 PDT
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...
Attachments
examples for selected file from GDrive with WkWebView and without (332.73 KB, image/png)
2018-07-05 11:52 PDT, Yelskirt Busbupps
no flags
Chris Dumez
Comment 1 2018-07-09 09:33:43 PDT
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.
Chris Dumez
Comment 2 2018-07-09 09:36:03 PDT
+Andy / Wenson as I suspect this could be an iOS file picker issue.
Chris Dumez
Comment 3 2018-07-09 09:40:06 PDT
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.
Chris Dumez
Comment 4 2018-07-09 09:43:30 PDT
(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.
Yelskirt Busbupps
Comment 5 2018-07-12 07:09:03 PDT
Hallo Chris, I'm sorry, I got no notifications about comments. I do asap test-app and send link later. Thank you!
Note You need to log in before you can comment on or make changes to this bug.