title: Escaping special characters (ø, æ) for use inside a url
body: <p>I try to display an image with a URL source in an iOS application, but it doesn't show up.</p>
  
  <p>The url of the image is live example path.</p>
  
  <p>When escaping this string using the following Objective-C code:</p>
  
  <pre><code> NSString *url= [(NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)originalpath, NULL, CFSTR("øæ"), kCFStringEncodingUTF8) autorelease];
  </code></pre>
  
  <p>the result is (with encoding of øæ) : live xml path</p>
  
  <p>All my files where the URLs are stored use text encoding (UTF-8).</p>
  
  <p>How do I escape the URL in a right way, such that the image will be displayed?</p>