Save Arabic text into MySQL database

后端 未结 2 1070
北海茫月
北海茫月 2021-01-28 02:31

I have this Arabic text: الخط الكوفي. When I try to save it in a MySQL database it doesn\'t save.

Is there any way to save it as the original text?

2条回答
  •  生来不讨喜
    2021-01-28 03:06

    Make sure your MySQL instance and tables are set to take UTF-8, not latin1.

    Section 9.1 of the manual covers this.

提交回复
热议问题