Mysql添加表中字符报错:Incorrect string value: '\xE6\x80\xBB\xE7\x9B\x91' for column 'postName' at row 1

原因:字符集设置错了

解决办法:将字符集设置utf-8

 

相关文章: