-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encode UTF-8 in CSV #1410
Comments
It must be the lack of the BOM Header (https://en.wikipedia.org/wiki/Byte_order_mark). |
77 var exportCSV = function exportCSV(data, keys, filename) { I have same ploblem. |
@masahtak, could you confirm that we only change the bool value for last argument can solve this issue? If yes, I can make it configurable :)
|
@AllenFang @masahtak If it works! Thank you, just change the last parameter to false: saveAs(new Blob([dataString], { type: 'text/plain;charset=utf-8' }), filename, false) |
I think it would be better if it's configurable. |
@AllenFang yes I can solve this issue if it's configurable! |
Sounds great, I'll fix it in next version, thanks |
Hi all, it was fixed on |
thx AllenFang! but noAutoBOM option looks like doesn't work...
noAutoBOM || true -> "true" only |
@masahtak, fxck,,,,, I forgot it was a bool value,,,, let me patch again in next version lol |
@masahtak fixed again and release on |
As you can encode in UTF-8 when exporting in cvs?, since the accents shows them like this:
Dirección -> Dirección
The text was updated successfully, but these errors were encountered: