码迷,mamicode.com
首页 > 数据库 > 详细

SQLException: Incorrect string value: '\xE4\xB8\xAD\xE5\x9B\xBD' for column at row 1

时间:2018-06-11 19:03:13      阅读:334      评论:0      收藏:0      [点我收藏+]

标签:XA   har   exception   row   数据   分享图片   img   alt   column   

这个是由于新建数据库没有选择默认字符集导致的,只要选择utf8即可。

技术分享图片

如果以上还无法解决,那可能是表里的varchar字符集也不对

 

SQLException: Incorrect string value: '\xE4\xB8\xAD\xE5\x9B\xBD' for column at row 1

标签:XA   har   exception   row   数据   分享图片   img   alt   column   

原文地址:https://www.cnblogs.com/fswhq/p/SQLException.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!