解决乱码问题
编写:String strResult =EntityUtils.toString(httpResponse.getEntity(),"UTF-8");
获取客户端的数据 转换为utf-8
response.setCharacterEncoding("UTF-8");
Stringls_job_id=newString(request.getParameter("JobID").getBytes("iso-8859-1"),"UTF-8");
解决乱码问题
编写:String strResult =EntityUtils.toString(httpResponse.getEntity(),"UTF-8");
获取客户端的数据 转换为utf-8
response.setCharacterEncoding("UTF-8");
Stringls_job_id=newString(request.getParameter("JobID").getBytes("iso-8859-1"),"UTF-8");