When I use thinkphp to write a website, I find that unknown bytes always appear in the front-end body.
How to solve this problem?
Can it be solved using trim in js? So how to solve this problem?
When I use thinkphp to write a website, I find that unknown bytes always appear in the front-end body.
How to solve this problem?
Can it be solved using trim in js? So how to solve this problem?
Ugh. . I have solved it, but my question has not been passed yet....
That’s because the encoding format needs to be converted to utf-8 BOM-free format~ Some IDEs can directly remove BOM, which is also possible~
http://afericazebra.blog.163....
Just pay attention when saving bom header utf