Chrome appends hyphen "-" to the downloaded CSV file
<p>My code works for IE and FF. In Chrome, the browser appends "-" hyphen to the start and end of the file name, thus making it unable to recognize the file type. On renaming the file while saving as csv makes it open in Excel in a single cell but I want a solution to handle it in the code side. It seems difficult. </p>

<p>Below is my code:</p>

<pre><code>//fileName = xxxx.csv
response.setContentType("application/download");
response.setHeader("Cache-Control", "public"); 
response.setHeader("Content-Type", "application/octet-stream");
response.setHeader("Content-Disposition", "attachment; filename= \"" + fileName + "\"");
</code></pre>

<p>Note: I searched many blogs but didn't find the solution for Chrome.</p>
