mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-02-14 20:30:49 +00:00
force encoding
This commit is contained in:
@ -70,7 +70,7 @@ export class Scraper {
|
||||
private saveCalendar(): void {
|
||||
this.debug("saveCalendar");
|
||||
const calendar = this.getCalendar();
|
||||
writeFileSync("./output/calendar.json", JSON.stringify(calendar, null, 2));
|
||||
writeFileSync("./output/calendar.json", JSON.stringify(calendar, null, 2), "utf-8");
|
||||
}
|
||||
|
||||
private async scrapeEvents(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user