title: How to send IOS Push Notifications with Emoji in message in a NodeJS server?
body: <p>I write some server code to send push notifications. I have a form field, called message. What I need is, putting some Emoji characters in the message.</p>
  
  <p>If I write \ue48d , for a cloud character, server see it as a string '\ue48d'.</p>
  
  <p>How can I decode it so I can use it in a push notification?</p>
  
  <p>Update: Here is my server code. I want to write \exxx to the form's message field, and encode it in this code then send to Apple.</p>
  
  <pre><code>exports.create = function(req, res){
      var devices = req.body.devices;
      var message = req.body.message;
      var note = new apn.Notification();
      note.expiry = Math.floor(Date.now() / 1000) + 3600; // Expires 1 hour from now.
      note.badge = 3;
      note.sound = "ping.aiff";
      note.alert =  message;
      note.payload = {'messageFrom': 'Burak'}; 
      for (var i in devices) {
        device =  new apn.Device(devices[i]);
        apnConnection.pushNotification(note, device);
      }
  
      res.send(200,'Successfull')
  }
  </code></pre>