title: Android HttpPost - Send request in cp1251
body: <p>I send request with this code:</p>
  
  <pre><code>final DefaultHttpClient client = new DefaultHttpClient();
  List&lt;NameValuePair&gt; pairs = new ArrayList&lt;NameValuePair&gt;();
  pairs.add(new BasicNameValuePair("number", pNumber));
  final HttpPost httpPost = new HttpPost(URL_MAIN);
  httpPost.setEntity(new UrlEncodedFormEntity(pairs));
  client.execute(httpPost);
  </code></pre>
  
  <p>It sends request in UTF-8, but I need cp1251 (site works only with this CP). How to encode it into the cp1251?</p>