title: Apache HttpClient 4.2.5 cyrillic post
body: <p>I am trying to make a POST request which sends cyrillic characters to a server. The problem is that on the page there are strange characters  displayed. Here is the code I am using:</p>
  
  <pre><code>post = PostRequest.getInstance(url, ref, 0, ua);
  
  List&lt;NameValuePair&gt; nvps = new ArrayList&lt;NameValuePair&gt;();
  nvps.add(new BasicNameValuePair("details", "детали"));
  
  post.setEntity(new UrlEncodedFormEntity(nvps, Charset.forName("UTF-8")));
  </code></pre>
  
  <p>And then I send the request. I expect on website that the received text to be "детали", but there are strange characters.</p>
  
  <p>Do you have any idea why is this happening? Thanks in advance!</p>