mirror of
https://github.com/penpot/penpot.git
synced 2026-05-01 22:28:15 +00:00
🐛 Fix encoding issue on reading po files.
This commit is contained in:
parent
adff40a4e7
commit
3583eb6aa9
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user