post.setEntity(new UrlEncodedFormEntity( params,"GBK")); 网上很多种关于解决乱码的问题,但是只有这种方法可以很好的解决乱码问题!很多自己的网站都是gbk编码的!