Answer the question
In order to leave comments, you need to log in
How to force PhpStorm 7.0 to save documents in UTF-8 without BOM?
Hello everyone, I encountered an anomaly, well, or my hands are crooked ...
<?php
session_start();
?>
Answer the question
In order to leave comments, you need to log in
In addition @nazarpc
In order not to strain too much with Notepad ++
PS The hotkey is assigned by me, by default it is not
In order to know for sure whether the problem is in the BOM, open your file in a HEX editor and look at the first 3 characters. If they are EF BB BF then yes, your file is saved with BOM.
1) do other files have ?> at the end? I doubt that this is the reason, but still ... Yes, and it's just bad practice.
2) by default storm should create files without bom. All in all, it's configurable. I remember in the 5th version if you open a file in utf8 with bom, then there was a button that allows you to remove this matter.
generally strange, they usually complain that the storm, on the contrary, removes the bom.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question