Fix naming + charset

This commit is contained in:
LeRatierBretonnien 2024-09-27 13:44:56 +02:00
parent fa890491e5
commit 599fdc752d

View File

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