Character encoding related information http://baike.baidu.com/view/1204863.htm
UTF-8 encoded files can be divided into no BOM and BOM two kinds of formats.
There is a BOM header storage or byte stream, it must be a Unicode character set encoding. The one that belongs to (Utf-8 or utf-16 or utf-32) can be judged by the head.
BOM in Utf-8 encoding file header, occupies three bytes, used to indicate that the file belongs to Utf-8 encoding
UTF-8 BOM is EFBBBF, because the UE loading UTF-8 file will be converted to UTF16, EFBBBF in Utf16 (Fffe BOM)
1, EditPlus to the BOM Header method Editor adjusted to UTF8 encoding format, the saved file will be preceded by a string of hidden characters (that is, the BOM), for the editor to identify whether the file is encoded in UTF8. Run EditPlus, click Tools, select Preferences, select files, UTF-8 identity option always delete signature,
Then the php file edited and saved after the PHP file is not with the BOM.
2, UltraEdit remove the BOM head method
After opening the file, save as an option in the encoding format selected (Utf-8 no BOM header), ok OK
UTF without BOM into a Utf-8 BOM batch processing tool
Ultracodingswitch Download Address: http://www.duote.com/soft/12486.html