About adding Chinese error to mysql

Incorrect string value: '\xE8\x83\x9C' for column 'xxxx' at row 1

The encoding of the table is not utf-8,

Solution: Design the table, select the field that needs to be added in Chinese, and change the encoding to utf-8.




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325956280&siteId=291194637