I would like to create a CSV file using blob. The file should be encoded in ANSI, but it doesn't work.
var blob = new Blob(["\ufeff", csvFile], { type: 'text/csv;charset=windows-1252;' });
The file is always created with UTF-8 encoding.
from Blob charset for CSV file
No comments:
Post a Comment