Mainly because of problems UTF-8 and UTF-8 with BOM's
solution:
-
The file encodings into a utf-8 utf-16, then changed utf-16 utf-8 (general procedure)
-
Click on the specified project, right, "Remove BOM" (My IDEA 2018.2 active)
-
If the above methods do not take effect, it can only be modified through Notepad ++ a file encoded as UTF-8 with no BOM of