@Override
protected Response<String> parseNetworkResponse(NetworkResponse response) {
try {
String parsed=new String(response.data,"UTF-8");
return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response));
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
return super.parseNetworkResponse(response);
}
};
使用Volley请求文本时乱码问题
最新推荐文章于 2017-07-19 19:04:29 发布