I've added the encode option to allow explicit encoding to the desired charset. I'm using TextEncoder for encoding which is available on Firefox and Chrome, and through this shim on other browsers.
This allows better Excel compatibility. Using '\t' as separator and explicitly encoding to utf-16le with BOM works best in Excel.
I've added the encode option to allow explicit encoding to the desired charset. I'm using TextEncoder for encoding which is available on Firefox and Chrome, and through this shim on other browsers.
This allows better Excel compatibility. Using '\t' as separator and explicitly encoding to utf-16le with BOM works best in Excel.