title: Incorrect decoding of known UTF-8 string from server
body: <p>In my application, I am getting some string values from a server, but I'm not ending up with the right string.</p>
  
  <p><code>بسيط</code>  this is the string from server side, but what I am getting is   <code>Ø¨Ø³ÙØ·</code>   </p>
  
  <p>I tried to test the response string in an online decoder: </p>
  
  <p><a href="http://www.cafewebmaster.com/online_tools/utf8_encode" rel="nofollow noreferrer">http://www.cafewebmaster.com/online_tools/utf8_encode</a>  </p>
  
  <p>It is UTF-8 encoded, but I couldn't decode the string on the iPhone side.</p>
  
  <p>I took a look at these Stack Overflow links as reference </p>
  
  <p><a href="https://stackoverflow.com/questions/7860867/converting-escaped-utf8-characters-back-to-their-original-form-in-ios-objective/7861345#7861345">Converting escaped UTF8 characters back to their original form</a><br>
  <a href="https://stackoverflow.com/questions/7893879/unicode-escapes-in-objective-c">unicode escapes in objective-c</a><br>
  <a href="https://stackoverflow.com/questions/7896221/utf8-decode-for-objective-c">utf8_decode for objective-c</a></p>
  
  <p>but none of them helped.</p>