标签:编码 检查 state ring val error sql utf8mb4 string
### Cause: java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x8E\xBE‘ for column ‘HANDLER_NAME‘ at row 1 ; uncategorized SQLException; SQL state [HY000]; error code [1366]; Incorrect string value: ‘\xF0\x9F\x8E\xBE‘ for column ‘HANDLER_NAME‘ at row 1; nested exception is java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x8E\xBE‘ for column ‘HANDLER_NAME‘ at row 1
检查数据库 查看数据库字段编码
有的网名占4个字节编码 看看数据库编码 是否支持存储 比如:utf8 ---> utf8mb4
关于(Incorrect string value: '\xF0\x9F\x8E\xBE' for column 'xxx' at row)报错
标签:编码 检查 state ring val error sql utf8mb4 string
原文地址:https://www.cnblogs.com/-mzh/p/13150890.html