httpclient中文乱码问题
MultipartEntityBuilder builder = MultipartEntityBuilder.create();
ContentType contentType = ContentType.create("text/plain",Charset.forName("UTF-8"));//解决中文乱码
builder.addTextBody("project", "我看看",contentType);
原创
2016-04-08 14:28:26 ·
1365 阅读 ·
0 评论