Fix wrong object import

This commit is contained in:
LeRatierBretonnien 2024-09-27 13:41:30 +02:00
parent 80435b6bca
commit fa890491e5

View File

@ -55,7 +55,7 @@ export class ExportScriptarium {
const actorLines = actors.map(actor => Misc.join(this.getActorLine(actor), ';')) const actorLines = actors.map(actor => Misc.join(this.getActorLine(actor), ';'))
const data = Misc.join([header, ...actorLines], eol) const data = Misc.join([header, ...actorLines], eol)
const filename = `scriptatium-${targetName?.slugify()}.csv`; const filename = `scriptatium-${targetName?.slugify()}.csv`;
saveDataToFile(data, "text/csv", `${filename}`); saveDataToFile(data, "text/csv;charset=utf-8", `${filename}`);
} }
getHeaderLine() { getHeaderLine() {