title: Convert string to UTF8
body: <p>How to convert NSString to UTF8Encode ?</p>
  
  <p>My NSLog print the same result as input string</p>
  
  <pre><code>    NSString*  username =@"MYUSERNAME";
      username=[username stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
  
      NSString*  Password =@"MYUSERNAMEPASS";
      Password=[Password stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
      NSLog(@"username=%@",username);
      NSLog(@"Password=%@",Password);
  </code></pre>