1, the method of removing BOM header by editplus
After the editor adjusts to UTF8 encoding format, there will be a string of hidden characters (BOM) in front of the saved file, which is used by the editor to identify whether the file adopts UTF8 encoding. Run Editplus, click Tools, select preferences, select files, select UTF-8 logo to always delete signatures, and then edit and save PHP files without BOM.
2. ultraedit method for removing bom title
After opening the file, select (utf-8 without bom header) in the encoding format of the Save As option and confirm.
3. Run it in the root directory of the project.