Unicode Encoding... Gettting UTF-8 I am using this code...
var content = 'demo';
uriContent = "data:application/text," + encodeURIComponent(content);
var link = document.createElement('a');
link.setAttribute('href', uriContent);
link.setAttribute('download', '22ddd' + '.txt');
link.click();
The content in the text file will be in Hindi Language which will be further converted into APS fonts. The font converter software available with the client works when the encoding is Unicode. I am able to download the text file properly but it is in UTF-8 encoding
ActiveXto create a textfile. It's old and works only with Internet Explorer.UTF-8looks like an unicode encoding for me..