Issue with utf-8 encoding using PHP + MySQL

后端 未结 10 1525
谎友^
谎友^ 2020-12-16 12:41

I moved data from MySQL 4 (they were originally set to latin2 encoding) to MySQL 5 and set encoding to utf-8. It

10条回答
  •  一生所求
    2020-12-16 13:05

    I had this problem recently (I hope its the same problem you are having), I tried many ways but at the end what worked was really simple.

    Convert your dumped SQL file to UTF-8 format and then import it.

    BW: I used Notepad++ for the conversion.

提交回复
热议问题