Hello. I was wondering how can I prevent atom from prepending BOM (byte order mark, EF BB BF) to modified files? Our team uses UTF-8 w/o BOM for all files and it’s very annoying that atom forces BOM.
Atom doesn’t force a BOM on UTF-8 encoded files.
- Open Atom
- Create a new file
testinto the new file
- Save the file as
- Open a Terminal
- Enter the command
hexdump -C test.txt
Expected and Actual: Five bytes in the file one each for
[~] hexdump -C test.txt 00000000 74 65 73 74 0a |test.| 00000005
Test executed on Atom v1.0.3-a791809 on Mac OS X 10.10.4.