一个字符设置问题

用工具新建表之后,没有注意字符集,导致sql运行之后报错!

Caused by: java.sql.BatchUpdateException: Incorrect string value: ‘xE5xAFx8CxE5x9FxBA’ for column ‘agent_title’ at row 1

后来把表的字符集改成utf8_general_ci,还没好!
然后就把每列都改成 utf8_general_ci,尼玛终于好了
就好了!