weixiyen / jquery-filedrop

jQuery plugin - drag and drop desktop files and POST to a URL to handle files.
958 stars 285 forks source link

Non English files cannot be uploaded #139

Closed JennieJi closed 5 years ago

JennieJi commented 11 years ago

The error threw on xhr.sendAsBinary(builder). The non English file cannot be sent by this function directly. I tried to encode it into unicode or uri, but the content of file cannot be recognized as its own language. I also tried to use xhr.send() instead, but I get the right filename and the mess up file content.