title: Swift - Encoding not supporting for some special characters
body: <p>I am using swift language 2.1.1</p>
  
  <p>I am applying encoding mechanism on the string value. I used the following code,</p>
  
  <p>let text = "-/:;.,?!'()&amp;@*+=_~"</p>
  
  <p>let encodedText = text!.stringByAddingPercentEscapesUsingEncoding(NSUTF16StringEncoding)</p>
  
  <p>In my case, none of the characters are encoded.</p>
  
  <p>May I have the solution on this</p>