Re: URL Encoding
Re: URL Encoding
- Subject: Re: URL Encoding
- From: "Mike Chambers" <email@hidden>
- Date: Wed, 31 Oct 2007 15:42:52 -0700
Thanks. I had tried using
stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding
but was not having any luck.
Here is my urlencode method:
+(NSString *) urlencode: (NSString *) url
{
return [url
stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding];
}
This is not encoding the url. I tried pretty much every encoding type
(although i think ASCII is the correct one).
mike chambers
email@hidden
_______________________________________________
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