Re: Re(2): URL string escape codes
Re: Re(2): URL string escape codes
- Subject: Re: Re(2): URL string escape codes
- From: Chris Ridd <email@hidden>
- Date: Wed, 14 Aug 2002 16:05:29 +0100
Jens Bauer <email@hidden> wrote:
>
I'd like to add that '+' becomes space as well, but since you've read the
>
RFCs already, you should know that.
>
Furthermore, reading the RFCs should be enough.
>
If it's not in the RFCs, it's probably because not expected to be
>
implemented. ;)
CF has functions which do this escaping and unescaping already, and
strictly follow the RFCs:
CFURLCreateStringByAddingPercentEscapes
CFURLCreateStringByReplacingPercentEscapes
I'm not sure if they've been exposed in NSURL or not, but since CFURLs are
NSURLs this is trivial.
Cheers,
Chris
_______________________________________________
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.