• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: URL Escaping weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >URL Escaping weirdness (From: "Michael Terence Mulligan" <email@hidden>)
 >Re: URL Escaping weirdness (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: URL Escaping weirdness
  • Next by Date: Saving State of NSOutlineView in Document-based App
  • Previous by thread: Re: URL Escaping weirdness
  • Next by thread: NSImageView Scaling oddity
  • Index(es):
    • Date
    • Thread