URI uri = URIUtils.createURI("http", host, -1, path,URLEncodedUtils.format(params, "UTF-8"), null);
HttpPost post = new HttpPost(uri);
HttpResponse response = httpclient.execute(post);
中文出现乱码,换过各种编码出现各种乱码
...全文
1183打赏收藏
中文乱码问题
URI uri = URIUtils.createURI("http", host, -1, path,URLEncodedUtils.format(params, "UTF-8"), null); HttpPost post = new HttpPost(uri); HttpResponse response = httpclient.execute(post); 中文出现乱码,换过各种编码出现各种乱码