摘要:
在mysql直接查询中文正常,通过连接到mysql读取中文内容为乱码。同时插入中文内容也失败提示Incorrect string value: '\xBC\xA4\xB7\xA2\xBF\xB4...' for column 'username' at row 1在连接数据库的时候,在你的页面连接字符串中增加CharSet=UTF8; 这样读取出来中文ok了。 阅读全文
posted @ 2013-09-05 11:28
akak123
阅读(235)
评论(0)
推荐(0)
摘要:
http://wandering192.iteye.com/blog/758954谢谢作者 阅读全文
posted @ 2013-09-05 11:11
akak123
阅读(1114)
评论(0)
推荐(0)

浙公网安备 33010602011771号