Home >Backend Development >PHP Tutorial >html - 新建PHP的utf-8无dom文件,关了再打开变成ANSI了,怎么办?

html - 新建PHP的utf-8无dom文件,关了再打开变成ANSI了,怎么办?

WBOY
WBOYOriginal
2016-06-06 20:50:281175browse

新建php的utf-8无dom文件,关了再打开变成ANSI了,请问是怎么回事?

回复内容:

新建php的utf-8无dom文件,关了再打开变成ANSI了,请问是怎么回事?

utf-8 无 BOM 在没有宽字符的情况下本来就是 ANSI ...

你保存的文件只有 ANSII 字符吧?

UTF8,GB2312,…这些都和 ANSII 兼容。

神马编辑器你用的是?

应该是编辑器把文件格式给修改了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn