I am trying to display an image with a URL source in an iOS application, but it does not display.
The image URL is an example of an example.
When escaping this line using the following Objective-C code:
NSString *url= [(NSString *)CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)originalpath, NULL, CFSTR("øæ"), kCFStringEncodingUTF8) autorelease];
result (encoded by øæ): live xml path
All of my files that store urls use text encoding (UTF-8).
How can I avoid the correct url so that the image is displayed?
source share