title: Iphone device token - NSData or NSString
body: <p>I am receiving iPhone device token in the form of <code>NSData</code> object. 
  When I tested my notifications script function, I have only copied that object from log and the notifications went fine. However when I try now to automatically do it, I am sending the device token as ASCII encoded string in the form of variable</p>
  
  <pre><code>self.deviceToken = [[NSString alloc] initWithData:webDeviceToken encoding:NSASCIIStringEncoding];
  </code></pre>
  
  <p>The string that I am getting has some funky characters and looks similar to this <code>"å-0¾fZÿ÷ÊºÎUQüRáqEªfÔk«"</code></p>
  
  <p>When server side script sends the notification to that token, I am not receiving anything.</p>
  
  <p>Do I need to decode something and how?</p>
  
  <p>Regardz</p>