日期:2014-05-16  浏览次数:20387 次

js传中文给java后台,乱码问题解决
var serchtext =  encodeURI($("#serch_text").val());
       serchtext = encodeURI(serchtext);

?

String query = r.getParameter("query");
query = URLDecoder.decode(query , "utf-8");

?