title: iOS Bengali text parser for web URL
body: <p>In my iOS app I am sending a Bengali text to a method where I need to convert the text into format to convert into web link because the website can only read this types. How can I convert my <code>NSString</code> into this format?</p>
  
  <p>The url should look like:</p>
  
  <blockquote>
    <p>%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95</p>
  </blockquote>
  
  <p>url would be:</p>
  
  <blockquote>
    <p>www.xyz.com/translate/>%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/>%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95/%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A7%8D%E0%A6%AE%E0%A6%BF%E0%A6%95-meaning-in-Bengali-English</p>
  </blockquote>
  
  <p>In my code I did: </p>
  
  <pre><code>NSString *url=[NSString stringWithFormat:@"www.xyz.com/translate/%@/%@-meaning-in-Bengali-English",txt,txt];    
  
  NSString *ss =[NSString stringWithContentsOfURL:[NSURL URLWithString:url] encoding:NSUTF8StringEncoding error:NULL];
  NSLog(@"URL ::%@--%@",url,ss);
  </code></pre>
  
  <p>I am getting the direct URL only.</p>
  
  <p>But it is not working in my way.</p>
  
  <p>Any Solution ?</p>