Converting latin1_swedish_ci to utf8 with PHP

后端 未结 2 2283
长情又很酷
长情又很酷 2021-02-20 11:33

I have a database filled with values like ♥•â—♥ Dhaka ♥•â—♥ (Which should be ♥•●♥ Dhaka ♥•●♥) as I didnt specify the collation while creati

2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 11:49

    I would look into mb_detect_encoding() and mb_convert_encoding() and see if they can help you.

提交回复
热议问题