通过HTTP请求的 response
进行JSOUP解析~
try {
// doc = Jsoup.parse(response);
// Element e = doc.getElementsByTag("meta").first();
// if(e != null){
// String content = "";
// String charset = "";
// if(e.attr("content") != null && e.attr("content") != ""){
// content = e.attr("content");
// charset = content.substring(content.indexOf("=")+1);
//
// }
// else if(e.attr("charset") != null && e.attr("charset") != "")charset = e.attr("charset");
// else charset = "GBK";
// System.out.println(charset);
//
// response = new String(response.getBytes("ISO-8859-1"),charset);
//
// }else{
// response = new String(response.getBytes("ISO-8859-1"),"GBK");
// }
// } catch (UnsupportedEncodingException e1) {
// // TODO Auto-generated catch block
// e1.printStackTrace();
// }