php web title Chinese gibberish effective solution

  • 2021-01-25 07:18:32
  • OfStack

Just tested 1 php web page, the result found that the title of the Chinese garbled, therefore, search search got a relatively good answer

in < title > Add the following sentence in front of the label
 
<meta http-equiv='Content-Type' content='text/html;charset=utf-8'/> 

Related articles: