问题
I am having problems storing urdu characters in Mysql table. Values from HTML form are stored in tables but when I view in phpmyadmin, it shows weird characters.
I have tried ucs2 and utf8 collations but still new values which I store are unknown characters.
What is the correct collation type? Or is there anything else that is wrong?
Thanks
回答1:
Try setting your column as utf8-utf8_general_ci like this if you are using MySQL workbench.
Then you will be able to save urdu characters
Recommend using utf8_unicode_ci for accuracy
来源:https://stackoverflow.com/questions/39438797/storing-urdu-characters-in-mysql