search

Home  >  Q&A  >  body text

The browser displays Chinese garbled characters. How to solve it? I am a beginner.

<?php

echo "I am demo.com";

?>


ElicityElicity2509 days ago1051

reply all(2)I'll reply

  • 陈强

    陈强2018-01-18 00:00:09

    You just learned it, right? Me too header("content-type:text/html;charset=utf-8");

    reply
    0
  • 韦小宝

    韦小宝2018-01-17 17:33:13

       header("content-type:text/html;charset=utf-8");

    reply
    3
  • Cancelreply