Jump to content

Unicode


Noki

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...