Home  >  Q&A  >  body text

A certain module on the web page is garbled. The local test is fine, but there is a problem on the virtual host. Please set it up.

The local test displays normally as shown below


## is garbled when transmitted to the virtual host, and the map room search module is garbled


##qdm167355695 This is the database code I query for the virtual host


This is the root code The encoding on 127.0.0.1

I feel that the problem should occur here, but I don’t know whether to change the program or the characters of the virtual host Collection, the level is limited, you need to watch it on demand, thank you for the guidance if you are not busy

QQ3516969

C6666.COM平邑儒房0539-4456666张C6666.COM平邑儒房0539-4456666张2577 days ago1351

reply all(1)I'll reply

  • jinmandou

    jinmandou2017-08-30 21:40:24

    Just change the character set on the virtual machine to utf8

    reply
    0
  • C6666.COM平邑儒房0539-4456666张

    Can the Alibaba Cloud virtual host be modified? 》

    C6666.COM平邑儒房0539-4456666张 · 2017-08-30 22:01:33
    jinmandou

    Alibaba Cloud virtual host? Not used. I am a standalone host. I guess it can be changed. Isn't there database management software? If it still doesn’t work, create a new database. When building, please note that the database format is utf8.

    jinmandou · 2017-08-30 22:04:29
  • Cancelreply