Home  >  Q&A  >  body text

My interface does not display Chinese, but garbled characters. What's going on?

My interface does not display Chinese, but garbled characters. What's going on?

远2488 days ago1684

reply all(4)I'll reply

  • Setsu

    Setsu2018-05-15 19:30:05

    需要设定

    <head>

    <meta http-equiv ="Content-Type"

    content="text/html;charset=UTF-8">

    </head>


    reply
    0
  • 在PHP的路上

    在PHP的路上2018-01-20 12:44:24

    2014 phpstudy openssl 0.9.8/1.0.1 How to switch


    2014 phpstudy comes with openssl 0.9.8 and 1.0.1, the problem is that when you want to configure to support https, you must also meet TLSv1.2, and to meet TLSv1.2, you must support openssl1.0.1 and above. Now I don’t know how to switch, please ask the phpstudy master Please help me solve it, thank you.


    reply
    0
  • 在PHP的路上

    在PHP的路上2018-01-20 12:40:44

    2014 phpstudy openssl 0.9.8/1.0.1 How to switch


    2014 phpstudy comes with openssl 0.9.8 and 1.0.1, the problem is that when you want to configure to support https, you must also meet TLSv1.2, and to meet TLSv1.2, you must support openssl1.0.1 and above. Now I don’t know how to switch, please ask the phpstudy master Please help me solve it, thank you.





    ##

    reply
    0
  • ringa_lee

    ringa_lee2018-01-20 11:38:28

    Garbled characters are usually caused by encoding problems. If you confirm that the file encoding is utf-8, just add a header before the PHP output.

    reply
    2
  • Cancelreply