Re: URL Escaping weirdness
Re: URL Escaping weirdness
- Subject: Re: URL Escaping weirdness
- From: "Michael Terence Mulligan" <email@hidden>
- Date: Sat, 26 Mar 2005 19:14:01 -0500 (EST)
- Importance: Normal
Good catch--thanks! I guess it's a formatted string flag that I was
unaware of. I'll just be sure to store the value in an (NSString *) since
that seems to function how I'd like it to.
-Mike
>
> The "about twenty spaces" "has something to do with" the " " in the
> string.
>
> Contrast:
>
> NSString *url = @"http://www.example.com/news story/index.htm";
>
> NSLog(@"url %@", url);
> NSLog([url escapeURL]);
> NSLog(@"[url escapeURL] %@", [url escapeURL]);
>
> url http://www.example.com/news story/index.htm
> http://www.example.com/news P(tory/index.htm
> [url escapeURL] http://www.example.com/news story/index.htm
>
>
> mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden