danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.6k forks source link

(encoding): ngf-select problem with utf-8 names on mobile devices with Google Drive #2082

Open WuglyakBolgoink opened 6 years ago

WuglyakBolgoink commented 6 years ago

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:

ngf-select show, that the file has always filesize=0 and filename was written broken too. image

If I select file with normal name, then filesize was written correct: image

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 plugin work fine...

WuglyakBolgoink commented 6 years ago

related to https://github.com/danialfarid/ng-file-upload/issues/754