Problems saving in database

If you save it in English, it’s not a problem, but it causes UTF-8 to break.

ALTER TABLE posts CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
I did it this way, but there are still problems.
Calling $conn->set_charset (“utf8mb4”) every time you do it can be a code cat or every time it bothers you.
Is there a solution?

I think you’re referring to this issue?

If so, please read the article and see if it applied to you.

6 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.