4 ms·
Open, I guess. If you edit and try to save, you have to be careful not to add formatting characters.
by jbaber 4y ago
Open, I guess. If you edit and try to save, you have to be careful not to add formatting characters.
- falcolas 4y agoYou do, but most editors can force text output when saving. It does take some diligence though.
- ad404b8a372f2b9 4y agoThere are a couple of text editors that add a BOM character at the start of files when you save. I've spent so much time helping young programmers debug their code trying to read/parse those files. They get an error about an unexpected character at the start of the file but when they open it they only see normal text so they assume they're doing something wrong.
- falcolas 4y agoBOM is a Windows specification. Its stupid, and most non-Microsoft editors don’t do it any more, but it’s a known hazard when on Windows.