IE浏览器从页面向后台Controller传中文值出现乱码问题

地址前面添加encodeURI()

1、

 1 var url = encodeURI('xxxAction.action?para='+中文);
 2 
 3 $('#cc').combobox({
 4 
 5     url : url,
 6 
 7     editable : false,
 8 
 9     valueField : 'cityId',
10 
11     textField : 'cityName'
12 
13 });

2、

1  // 打印报表
2     function printReport(obj) {
3         var url = encodeURI("@Url.Action(ViewBag.Print, "Report")?Year=" + $("#Year").val() + "&Month=" + $("#Month").val() + "&caseStatus=" + $("#casetypelist").val());
4         obj.href = url;
5             return true;
6         }
原文地址:https://www.cnblogs.com/lijianda/p/6900715.html