2011年9月7日

摘要: 在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");基本思路是先编码再解码 阅读全文

posted @ 2011-09-07 20:01 lpcas 阅读(487) 评论(0) 推荐(0) 编辑


Copyright © 2024 lpcas
Powered by .NET 9.0 on Kubernetes