在js中代码如下:
function openDetails(){
??var AgeName???? = encodeURIComponent(tFs.name);//用encodeURIComponent(xx)处理中文
??var AgeAdress?? = encodeURIComponent(tFs.address);
?
在java中代码处理如下:
?? String AgeName??? = new String(request.getParameter("AgeName").getBytes("ISO-8859-1"),"UTF- 8");