• 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: Re(2): URL string escape codes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re(2): URL string escape codes


  • Subject: Re: Re(2): URL string escape codes
  • From: David Wright <email@hidden>
  • Date: Wed, 14 Aug 2002 15:37:37 +0100 (BST)

Hi Jens,

> >> Does anyone know the escape code for a carriage return in a URL string?
>
> Now I wanna know! -Is it "carriage" or "carrige" ?

It's 'carriage' as in 'typewriter carriage'. I'm sure there are a few
people on this list that remember those ;-)

> >> I'll be mildly surprised if one exists, but you don't ask you don't get.
> >
> >The escape codes for characters in URLs are just their hexadecimal
> >ASCII equivalents preceded by a '%'.
> >
> >So space becomes , and carriage return (according to my "unix in a
> >nutshell") becomes .
>
> I'd like to add that '+' becomes space as well, but since you've read the
> RFCs already, you should know that.

That's only true for the query string though: "Within the query
string, the plus sign is reserved as shorthand notation for a space
... This method was used to make query URIs easier to pass in systems
which did not allow spaces.".

> Furthermore, reading the RFCs should be enough.
> If it's not in the RFCs, it's probably because not expected to be
> implemented. ;)
>
>
> Love,
> Jens

Cheers,
dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re(2): URL string escape codes (From: Jens Bauer <email@hidden>)

  • Prev by Date: NSRunLoop question
  • Next by Date: Re: Re(2): URL string escape codes
  • Previous by thread: Re(2): URL string escape codes
  • Next by thread: Re: Re(2): URL string escape codes
  • Index(es):
    • Date
    • Thread