The problem: some files in the array are picked up from the node_modules folder and are saved when installing them via npm i as ANSI Western European 1252 (Windows environment) while others are UTF-8 NO-BOM;
Thus the resulting file is saved as ANSI Western European 1252, so for example letters like "à" (224) become "Ã" (160)
Hi I have a concat task that concats a series of javascript file defined on an arrray CONFIG.JS_FILES defined like this:
The problem: some files in the array are picked up from the node_modules folder and are saved when installing them via
npm i
as ANSI Western European 1252 (Windows environment) while others are UTF-8 NO-BOM;Thus the resulting file is saved as ANSI Western European 1252, so for example letters like "à" (224) become "Ã" (160)
I can't figure out how to solve this problem :(