解决方案1(修改数据库字符集) 将数据表的字符集改为utf8mb4 插入测试 解决方案2(转码) 测试工具地址: http://tool.chinaz.com/tools/urlencode.aspx 使用urlencode转码 入库 使用urlencode解码