问题
My webpage is not working under ASCI . It shows plan text instead of links . By hexa editor i found some un used characters that blocking the program. To work that i need to change the encoding to utf-8 without bom . I am using notepad++ .When i close the notepad++ program and open it ,it default set to ASCI.This cause so many issues. Is there ny editor to work under utf-8 without bom.
回答1:
In Notepad++, go to:
Settings -> Preferences -> New Document/ Open Save Directory tab
then
New Document -> Encoding
check
UTF8 without BOM
回答2:
In addition to Michael E's answer you can open a file in Notepad++.
Click Format -> Convert to UTF-8 (without BOM).
Not 100% sure about the spelling as I have it in Norwegian, but it should be something like that.
来源:https://stackoverflow.com/questions/11517642/best-light-weight-php-editor-working-under-utf-8-without-bom