留言内容 $(function(){ $("#save").bind("click",function() { var content = $("#content").val(); $.ajax({ type : "post", url : "addCritique.action?mid=${requestScope.message.mid }&content=" +content , contentType: "application/x-www-form-urlencoded; charset=utf-8", dataType : "json", success : function(data) { var html= '<tr style="width: 640px; height: 160px;"><td bgcolor="#FFFFFF" style="width: 1260px;"><font class="chinesefont105main"><font color="blue"><p>回复'+data.number+':</p></b></font> '+data.con+'<hr size="1" noshade color="#CCCCCC"><br><p align="right">用户:'+data.name+'</p> </font></td></tr>'; alert(data.success); $("#show").append(html); } }) }) })
就是自己写的一个BBS 但是回复留言的时候中文乱码,求大神帮忙怎么解决