From 3583eb6aa972c0edb697f8dd11c7b4c0be4126f7 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 23 Apr 2021 12:57:33 +0200 Subject: [PATCH] :bug: Fix encoding issue on reading po files. --- frontend/gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 2ac9d26ff..44596e08b 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -36,7 +36,7 @@ function readLocales() { const result = {}; for (let lang of langs) { - const content = fs.readFileSync(`./translations/${lang}.po`); + const content = fs.readFileSync(`./translations/${lang}.po`, {encoding:"utf-8"}); lang = lang.toLowerCase();