title: how to change the char array to NSString
body: <p>for example I have a char array :</p>
  
  <pre><code>char array[8];
  </code></pre>
  
  <p>i tried:</p>
  
  <pre><code>NSString *marketPacket = [NSString stringWithCString:array encoding:NSASCIIStringEncoding];
  NSLog(@"%@",marketPacket);
  </code></pre>
  
  <p>but displays corrupted characters</p>