You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
How can I change the Encoding Format of the File I create with this package?
data = new Blob([str], {
type: 'application/json;charset=ansi;'
});
// Export "Download"
this.FileSaver.saveAs(data, this.$scope.selectedLang[i].code + '.php');
Changing the charset to ansi instead of utf8 did nothing on the File, it is still UTF8.
Even removing the whole option is not changing anything at all or Errors.
var data = new Blob([angular.toJson(res, true)]);//no option
// Export "Download"
this.FileSaver.saveAs(data, 'texte_' + this.$scope.selectedLang[i].pp_id + '.json');
I want to create 3 Files (.json->utf8/.php->ansi/.properties->ansi)
Where can I tell Filesave in which Encoding Format it should be saved?
The text was updated successfully, but these errors were encountered:
Hey,
How can I change the Encoding Format of the File I create with this package?
Changing the charset to ansi instead of utf8 did nothing on the File, it is still UTF8.
Even removing the whole option is not changing anything at all or Errors.
I want to create 3 Files (.json->utf8/.php->ansi/.properties->ansi)
Where can I tell Filesave in which Encoding Format it should be saved?
The text was updated successfully, but these errors were encountered: