Posts: 536
Threads: 81
Joined: Mar 2017
Reputation:
0
Please guys I really need help! +1 REP if you help me!!!!!
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by Y_Less
That really looks like you are mixing up code pages, like you are saving non-unicode text as unicode.
|
The data you are writing isn’t unicode, while the column is. You need to figure out what the data is and convert it.
Posts: 1,092
Threads: 4
Joined: Jun 2012
Reputation:
0
I think your problem is, that you've already created the table with the wrong charset.
Can you look in PHPMyAdmin for example, what charset your column have?
Or change it directly to "utf8mb4_unicode_ci"
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by Kraeror
Where can I find it? I read in the MySQL forums and people says that if I set the charset to “utf8” it will work, but it doesn’t! What I have to do?
|
Yes, as a general rule you should always use UTF-8. However, the problem is that while MySQL is set to unicode (which is good), the game isn’t. Thus you are mixing codepages, which requires conversion.
Posts: 117
Threads: 4
Joined: Feb 2018
Quote:
Originally Posted by Kraeror
Any idea Y_Less?
|
Relax, dude. You'll eventually get a response from somebody who's able to help.