Discussing the article: "Moving to MQL5 Algo Forge (Part 2): Working with Multiple Repositories" - page 3

 
Vladislav Boyko #:

I guess I was wrong. I just added this to the .mq5 file with UTF-8 encoding:

and after saving the file encoding changed to "UTF-16 LE BOM".


It seems to be MetaEditor's fault. I added Cyrillic characters and saved the file using Notepad++ and the encoding remained UTF-8.

Most likely, UTF-8 was without BOM, ME doesn't like it. At least it used to leave files in UTF-8 only if BOM was present. Other editors are smarter and work without BOM.