From fa890491e570ed91dae385e1fbcf9506cd4a8192 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Fri, 27 Sep 2024 13:41:30 +0200 Subject: [PATCH] Fix wrong object import --- module/actor/export-scriptarium/export-scriptarium.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/actor/export-scriptarium/export-scriptarium.js b/module/actor/export-scriptarium/export-scriptarium.js index e6cd20ce..54916133 100644 --- a/module/actor/export-scriptarium/export-scriptarium.js +++ b/module/actor/export-scriptarium/export-scriptarium.js @@ -55,7 +55,7 @@ export class ExportScriptarium { const actorLines = actors.map(actor => Misc.join(this.getActorLine(actor), ';')) const data = Misc.join([header, ...actorLines], eol) const filename = `scriptatium-${targetName?.slugify()}.csv`; - saveDataToFile(data, "text/csv", `${filename}`); + saveDataToFile(data, "text/csv;charset=utf-8", `${filename}`); } getHeaderLine() {