I try to send string \"Привет мир!\"
String link = POST_URL; HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(link); String
This worked for me:
HttpPost httpPost = new HttpPost("http://someurl.com"); httpPost.setEntity(new UrlEncodedFormEntity(nameValuePair, HTTP.UTF_8));
The StringEntity's charset to UTF-8. These lines will do the trick:
httpPost.setEntity(new StringEntity(body, HTTP.UTF_8));