摘要:
在JS中var content = encodeURI(encodeURI('中文字符'));在PHP服务端接收header("Content-type: text/html; charset=utf-8");$content = urldecode($_GET['content']);然后再存进数据库,就不会乱码了! 阅读全文
posted @ 2013-11-20 17:11
王翔(kingfly)
阅读(349)
评论(0)
推荐(0)
浙公网安备 33010602011771号