ejs icon indicating copy to clipboard operation
ejs copied to clipboard

ejs fails to remove BOM for includes

Open GiantCowFilms opened this issue 10 years ago • 1 comments

There is a known ~~issue~~ feature in Node.js where fs.readFile and fs.readFileSync leave in the "BOM" on utf8 encoded files. The solution is simply to remove them, but in the case of ejs includes, they are left in the file.

GiantCowFilms avatar Dec 21 '14 13:12 GiantCowFilms

Same as #114

puncha avatar Dec 23 '14 16:12 puncha