request.setCharacterEncoding("utf-8");
摘要:
request.setCharacterEncoding("utf-8");不加这句话时,从input控件得到值要用new String(request.getParameter("").getBytes("ISO-8859-1"),"utf-8")方法,而从 a href=""中得到值直接用req... 阅读全文
posted @ 2014-10-28 19:13 太极芋头 阅读(575) 评论(0) 推荐(0) 编辑