Q:

Chrome browser in Android always renames downloaded file to Download.bin

I'm using a Nexus 7 device and whenever I download a file greater than 28MB, the Chrome browser renames it to Download.bin no matter what the name of the file. When I download a file less than 28MB, the type (jpg, for instance) remains intact but the name of the file is changed to "Download". When I use Firefox within android, the files are downloaded as expected no matter what the size. My hunch is that this is some security feature built into Chrome. The site is hosted by IIS 7.5 and I'm using the BOM with JavaScript to download the file. Any idea of a workaround for this so that Chrome downloads the files correctly? It works correctly on the desktop version of Chrome, but not the android version of Chrome. Would appreciate any help!

A:

This issue is caused by the fact that the Android Chrome browser doesn't understand UTF-8 encoding.  I was UTF-8 encoding the file names since the desktop version of Chrome requires this.  It turns out that file names don't need to be UTF-8 encoded for non-ascii characters for the Android Chrome browser. I was able to successfully download a file using Android Chrome with Korean characters in it without encoding it with UTF-8.

