UTF-8 problems PHP/MySQL

后端 未结 7 1208
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 12:08

I\'ve always used ISO-8859-1 encoding, but I\'m now going over to UTF-8.

Unfortunately I can\'t get it to work.

My MySQL DB is UTF-8, my PHP document is enco

7条回答
  •  感动是毒
    2020-12-05 12:16

    Are you having this error? MySql SELECT UNION Illegal mix of collations Error? Just set you entire mysql to utf 8 then

    SET character_set_connection = utf8;
    

提交回复
热议问题