Home >Backend Development >PHP Tutorial > UTF-8+BOM的有关问题,昏倒~

UTF-8+BOM的有关问题,昏倒~

WBOY
WBOYOriginal
2016-06-13 12:42:56971browse

UTF-8+BOM的问题,昏倒~~~

本帖最后由 u010572351 于 2013-07-10 13:14:01 编辑 昨天我问了这样一个问题http://bbs.csdn.net/topics/390512808

后面发现的确是UTF8-BOM的问题,但是今天又出现新的问题:

那就是无BOM的UTF-8中文直接是乱码,UTF8+BOM格式中文正常,现有有点凌乱了。

1.ob缓存要UTF8无BOM才正常
2.有中文的php要有BOM才正常


现在,我到底是要有BOM还是无BOM????总体情况下应该选哪个???

崩溃
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