Re: Encoding NSString for URL
Re: Encoding NSString for URL
- Subject: Re: Encoding NSString for URL
- From: Jerry Krinock <email@hidden>
- Date: Wed, 12 Mar 2008 14:46:56 -0700
On 2008 Mar, 11, at 23:56, JanakiRam wrote:
CFURLCreateStringByAddingPercentEscapes...not
encoding special characters such as @#$%&* etc.
CFURLCreateStringByAddingPercentEscapes only encodes the characters
mentioned in RFC 2396, which is: All non-ASCII characters plus these
fourteen:
` # % ^ [ ] { } \ | " < > space
If you want @ * and $ to be encoded, pass them in the fourth argument.
Also, follow Jens' advice to make sure this is really what you want to
do.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden