jquery ajax提交中文乱码问题

解决办法:contentType: "application/x-www-form-urlencoded; charset=utf-8",
$.ajax({
	url: "manufacturerAction_setQuestion",
	type: "post", 
	data:"manufacturer.id="+id+"&quesStr="+dataStr,
	contentType: "application/x-www-form-urlencoded; charset=utf-8", 
	success: function(data){
		alert("设置成功");
	}
	});

你可能感兴趣的:(jquery ajax提交中文乱码问题)