Copy/paste includes BOM character


I have been copying and pasting code (SQL) from Atom into SQL Management studio, and I noticed it throws an error when copying from Atom, but fine copying from elsewhere (notepad, np++, visual studio).

Removing the first two lines fixed the issue, and I narrowed it down to what appears to be the BOM character (in powershell it reported as character ‘65279’.

Is it possible for Atom to exclude this character from the editor, or do I have to configure something?


Win8.1 (atom version 0.125.0)

Just found a related issue on github


Same problems too. Anyone has solution?