I have the following line ...
NSString *googleSearchString = @"http://www.google.com/search?q=lyrics+%22Tænder+På+Dig%22+%22Jakob+Sveistrup%22";
Please note that it has some accented characters. When I try to turn this into a url, the returned url is null ...
[NSURL URLWithString:googleSearchString]
Thus, the URL usually works, unless there are characters with non-English letters in the string. Any help on how to handle this?
cocoa special-characters nsurl
regulus6633 Jan 23 2018-10-23T00: 00Z
source share