how to send string by http post in UTF-8
<p>I try to send string "Привет мир!"</p>

<pre><code>String link = POST_URL;
HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new HttpPost(link);
String xml ="Привет мир";
List&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;();
nameValuePairs.add(new BasicNameValuePair("file", xml));
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
HttpResponse response = httpclient.execute(httppost);
</code></pre>

<p>And save it by php script:</p>

<pre><code>if(!empty($_REQUEST['file'])){
$fp = fopen("C:\\windows\\temp\\1.xml", "w");
$mytext =$_POST["file"];
$test = fwrite($fp, $mytext); 
fclose($fp); 
</code></pre>

<p>But I get ?????? ????? on my web server, I try reopen file with utf encoding, but it doesn't help. How can I resolve it.</p>
