Closed runegan closed 7 years ago
Original comment by Rune Gangsø (Bitbucket: runegan, GitHub: runegan).
That's a good idea. You could maybe go further by specify a default encoding? Mac uses UTF-8 and Windows uses some other incompatible format. It would be nice if they both used UTF-8 so you don't get any errors when writing files. Can't remember now but I have had some trouble with the before and the solution was to set UTF-8 explicitly.
Original report by Zack Lovatt (Bitbucket: zlovatt, GitHub: zlovatt).
Proposal below; thoughts? Would apply to readFile as well, I think.