BOM
rpavlik opened this issue · 2 comments
rpavlik commented
Line 31 in 6dc9cf0
Was looking and wanted to comment on this - the leading "garbage" is in fact the "byte order mark" which keeps getting added and removed as people edit it. I have not yet found a convenient way to forcible add or remove it, but your upstream for file loading might consider handling it because some editors are apparently adding it automatically.
Ralith commented
Seems like this has stayed gone for a while now. If it comes back I'll probably add a dynamic check, or maybe propose that the XML people do it; rust's filesystem ops are not text-specific so it wouldn't really belong there.
rpavlik commented
Yeah somebody contributed a script that removes it which I've run before each release 😁