The BOM can be removed so long as the files don’t contain weird unicode characters (not of 1252-like), code editors should be fine without them. Less of a drama in ‘Nix apparently.
Sounds complicated, as haven’t wandered down that particular path.
Just a h/u, two branches of MWEdit are being updated, think you want the Walrus one as current. 🙂