title: How to Convert NSData to NSString
body: <p>I know this has been asked quite before, and I already followed couple of approaches, but they don't work.</p>
  
  <p>Following is what I already tried:</p>
  
  <pre><code>NSString *newStr = [NSString stringWithUTF8String:[responseData bytes]];
  NSString *newStr = [NSString stringWithFormat:@"%.*s", [responseData length], [responseData bytes]];
  </code></pre>
  
  <p>None of them works. In 1st case, it fills newStr with null. In 2nd, it fills with junk characters. I know from debugger log (po responseData) that I get valid response which is like bbbbbb 00 bbbbbb. [server sends them as byte array]</p>
  
  <p>What to do?</p>
  
  <p>EDIT:
  I am receiving this data from http request response - using ASIHTTPRequest library, in case anybody can help on that line.</p>