Inserting Gujarati text into MySQL tables results in unwanted characters and unreadable texts

I have three MySQL tables and I insert the contents of Gujarati into them. When I insert two tables, they are inserted and read, but garbage characters / unreadable text is displayed in one table. How can i fix this?

+8
language-agnostic database mysql fonts mysql-error-1064
source share
2 answers

MySQL has character set settings in a table .

You can check which character set you use for each table - see How do I find out which character the MySQL database / table / column defines? .

If this is your problem, you can hide this table using:

ALTER TABLE mytable CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; 
+5
source share

You just need to ...

in the Mysql database table. Just change the "Collation" of the Name column. To 'utf8mb4_general_ci'.

and you can save any Gujarati font in the database

0
source share

All Articles