Why does garbled code appear when submitting this webpage to Google Chrome using phpstorm?
Jerry
Jerry 2018-01-15 16:02:44
0
4
1717

Why does it prompt garbled characters when using phpstorm to submit this webpage to Google Chrome?

Jerry
Jerry

reply all(4)
Jerry

problem solved

土豆你个西红柿

Inconsistent utf8 will lead to garbled characters (the browser also needs to set utf8 accordingly during the saving process of html)

ringa_lee

Garbled characters are usually encoding problems

1. File encoding, see if it is a utf8 file, and whether there is a bom header

2.html encoding

3.database Encoding

Usually these three situations lead to garbled codes. You can debug them separately. If you don’t understand, you can ask me again

Jaty

Encoding must be set in the web page code.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template