Screeps code & Visual Studio



  • I've just moved to external code editing and I ran into problem with Visual Studio - it's saving UTF8 files with Byte Order Mark (BOM) - "" in the beginning. Screeps can't handle the BOM.

    It's possible to resave the files without the BOM (Advanced Save Options -> Unicode (UTF-8 without signature - Codepage 65001), but this process is arduous.

    I found this handy extension by Sergey Vlaslov, that does it for you automagically - https://vlasovstudio.com/fix-file-encoding/