title: NSURL with special characters
body: <p>How can I encode this url to be displayed in a UIWebview:</p>
  
  <p><a href="http://de.wikipedia.org/?search=Bev%C3%B6lkerungsentwicklung" rel="nofollow noreferrer">http://de.wikipedia.org/?search=Bevölkerungsentwicklung</a></p>
  
  <p>I tried:</p>
  
  <pre><code>-stringByAddingPercentEscapesUsingEncoding:NSUnicodeStringEncoding
  -stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding
  </code></pre>
  
  <p>and</p>
  
  <pre><code>CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,
                                          (CFStringRef)mobileUrl,
                                          NULL,
                                          (CFStringRef)@"!*'();:@&amp;=+$,/?%#[]",
                                          kCFStringEncodingUTF8);
  </code></pre>
  
  <p>thanks</p>
  
  <p>joerg</p>