Écrivez dans UTF8 FS
fs.writeFileSync(dir, "Text", "utf8")
Blue Buzzard
fs.writeFileSync(dir, "Text", "utf8")