How can I encode this url to be displayed in a UIWebview:
http://de.wikipedia.org/?search=Bevölkerungsentwicklung
I tried:
-stringByAddingPercentEscapesUsingEncoding:NSUnicodeStringEncoding
-stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding
and
CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault,
(CFStringRef)mobileUrl,
NULL,
(CFStringRef)@"!*'();:@&=+$,/?%#[]",
kCFStringEncodingUTF8);
thanks
joerg