title: C# Send unicode SMS using UTF8 encoding
body: <p>I am using <strong>http api</strong> to send sms. I have a following php code to send <strong>unicode sms</strong>  </p>
  
  <pre><code>&lt;?php 
  $api_key = 'XXXXXX';
   $contacts = '97656XXXXX,98012XXXXX';
   $from = 'DEMO';
   $sms_text = 'Hindi - हिंदी , Chinese - 痴呢色 ，Russian - руссиан';
   $encoded_text = utf8_encode($sms_text);
   $message = urlencode($encoded_text);
  
   $api_url = "http://www.example.in/app/smsapi/index.php?key=".$api_key."&amp;campaign=1&amp;type=unicode&amp;contacts=".$contacts."&amp;senderid=".$from."&amp;msg=".$message; 
  
  //Submit to server
  
  $response = file_get_contents( $api_url);
   echo $response; 
  ?&gt;
  </code></pre>
  
  <p>Php code send message correctly. Here now I want to Send the same using <code>c#</code>. I tried following code.</p>
  
  <pre><code>WebClient objClient = new WebClient();
  string baseurl = SystemConfiguration.GetSendSMSURL();            
  byte[] utfByte = Encoding.UTF8.GetBytes(message);
  baseurl = string.Format(baseurl, recipientMobileNumber, HttpUtility.UrlEncode(utfByte));
  Stream data = objClient.OpenRead(baseurl);
  StreamReader reader = new StreamReader(data);
  string s = reader.ReadToEnd();
  data.Close();
  reader.Close();
  </code></pre>
  
  <p>But it is not working properly. I am receiving <code>?????</code> in sms at Unicode character. Basically I am trying to convert php code in c#. Can someone tell me where I am doing wrong in c#? </p>