This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

HOW TO MADE MARIADB CAN STORE THE CHINESE CHARACTER

Hi,

I am having some data is in chinese character and want to store in mariadb. May i know that how to made sure mariadb is able to store the chinese character?

Answer Answered by Ian Gilfillan in this comment.

You want to change the character set to something supporting Chinese characters, as the default latin1 character set does not. There are a number that do, such as utf8mb4. See Setting Character Sets and Collations or specifically this example.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.