httpResponse.getEntity()乱码_微科社区
lrcLine =EntityUtils.toString( httpResponse.getEntity(), HTTP.UTF_8); writer.write(lrcLine);Log.v(TAG, lrcLine);}将HTTP.UTF_8改为"gb2312"即可。...
EntityUtils (Apache HttpCore 4.4.5 API)
toString(HttpEntity entity, Charset defaultCharset) Get the entity content ...public static void updateEntity(HttpResponse response, HttpEntity entity) throws...