From f9fd9940bd5571521e3670ae4b80afe264c862f3 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Wed, 6 Mar 2019 16:36:17 -0800 Subject: [PATCH] fixed server l10n parse error --- server/locale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/locale.js b/server/locale.js index efb0e044..50439160 100644 --- a/server/locale.js +++ b/server/locale.js @@ -7,7 +7,7 @@ const locales = fs.readdirSync(localesPath); function makeBundle(locale) { const bundle = new FluentBundle(locale, { useIsolating: false }); bundle.addMessages( - fs.readFileSync(path.resolve(localesPath, locale, 'send.ftl')) + fs.readFileSync(path.resolve(localesPath, locale, 'send.ftl'), 'utf8') ); return [locale, bundle]; }