Use windows-1252 encoding
This commit is contained in:
parent
9c17f85fa8
commit
74b184aa32
@ -50,12 +50,12 @@ export class ExportScriptarium {
|
||||
}
|
||||
|
||||
exportActors(actors, targetName) {
|
||||
const eol = '\n'
|
||||
const eol = '\n\r'
|
||||
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 = `scriptarium-${targetName?.slugify()}.csv`;
|
||||
saveDataToFile(data, "text/csv;charset=utf-8", `${filename}`);
|
||||
saveDataToFile(data, "text/csv;charset=windows-1252", `${filename}`);
|
||||
}
|
||||
|
||||
getHeaderLine() {
|
||||
|
Loading…
Reference in New Issue
Block a user