I have this string %22%00%41%00%22%00%09%00%22%00%42%00%22%00 which is the UTF-16LE equivalent of "A"\t"B". (The \t is a Tab char.)
I am trying to construct a Blob and then a URL for it, but the output isn't decoded to proper entities.
var blob=new Blob([stringHere],{type:'text/csv;charset=UTF-16LE;'});
var blobUrl=URL.createObjectURL(blob);
Is there anyway to tell the Blob the string encoding so that it looks properly when opened in Excel (in this particular case)?
I need UTF-16LE, otherwise using UTF-8 will result in Excel no parsing the .csv file properly.
Thanks.