You should add the UTF-8 BOM at the start of the text, like:
var csvContent = "data:text/csv;charset=utf-8,%EF%BB%BF" + encodeURI(csvContent);
It worked for me with Excel 2013.
More Related Contents:
- Example JavaScript code to parse CSV data
- How to export JavaScript array info to csv (on client side)?
- Is there a built in way to convert a comma-separated string to an array?
- How to convert JSON to CSV format and store in a variable
- Export javascript data to CSV file without server interaction
- How can I parse CSV data with JavaScript?
- Export to csv in jQuery
- Export table from database to csv file
- How to convert CSV to JSON in Node.js
- download csv file from web api in angular js
- Converting JSON object to CSV format in JavaScript
- Importing data from multiple csv files in D3
- Export HTML table to CSV using vanilla javascript
- JavaScript array to CSV
- Using javascript to download file as a.csv file
- How to parse CSV data?
- How to Export JSON to CSV or Excel – Angular 2
- How do I stream response in express?
- Javascript: Splitting a string by comma but ignoring commas in quotes
- How can I read a local file with Papa Parse?
- Javascript: set filename to be downloaded
- read csv/tsv with no header line in D3
- How to validate inputs dynamically created using ng-repeat, ng-show (angular)
- Chrome 65 blocks cross-origin . Client-side workaround to force download?
- How can a Chrome extension save many files to a user-specified directory?
- How to scroll the window using JQuery $.scrollTo() function
- How can I get png(base64) with images inside of svg in Google Charts?
- How to stop form submit during ajax call
- Why is webpack –watch not updating when specific files are updated
- Alternatives of JSON.stringify() in JavaScript