I have this code
httpUriRequest = new HttpPost(address.toString());
((HttpPost)httpUriRequest).setEntity(new ByteArrayEntity(restParams.postData()));
httpUriRequest.setHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
When I'm sending "asd+asd" server gets "asdasd" or "asd asd". Also I try to send this string by rest-client to server and it works well.
So what's the problem? Can anyone suggest some solution?