Noki Posted September 30, 2015 Share Posted September 30, 2015 I'm trying to log chats to a MySQL database. The code itself is fine and all insertions work etc. The database, tables and columns are all set to utf8mb4_unicode_ci and utf8mb4. However, when I type in a foreign language in MTA via the console, the insertion isn't correct. I get these weird characters. I've had a look into character encoding but it's confusing, to say the least. All I know is that utf8mb4_unicode_ci is currently working on the database's end. When I manually enter the characters into MySQL (via phpmyadmin) it works correctly, though not in MTA. I have tried so far with Japanese and Arabic. Link to comment
pa3ck Posted September 30, 2015 Share Posted September 30, 2015 viewtopic.php?f=91&t=92246 Link to comment
Noki Posted September 30, 2015 Author Share Posted September 30, 2015 Works flawlessly. Thank you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now