On Tue, Jun 7, 2011 at 8:03 PM, Jeffrey Walton <noloa...@gmail.com> wrote: > On Tue, Jun 7, 2011 at 7:42 PM, James Merkel <jmerk...@mac.com> wrote: >> I am sending a URL string to NSWorkspace's openURL method that has the >> bracket characters ( ) in it. The URL can't be opened by NSWorkspace. If I >> take out the ( ) characters NSWorkspace then opens the URL, so I guess >> NSWorkspace considers the string with ( ) a malformed URL. >> >> Note, the ( ) characters are used by Mapquest to label a location. If I just >> enter the URL string with brackets in the browser , it opens mapquest ok. >> >> Is there any way around this problem? > Forgive the obvious: have you tried an HTML escape - ( and )? My bad - URL escapes: %28 and %29. _______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com