Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL Encoding



On Oct 31, 2007, at 3:07 PM, Mike Chambers wrote:

I am trying to figure out how to properly URL Encode Urls in Objective-C
Cocoa.
I know this has been discussed before, and doing a quick search, I came
across:


CFURLCreateStringByAddingPercentEscapes

You're probably getting a little too low-level. NSString has - stringByAddingPercentEscapesUsingEncoding:, which is exactly what you want.


-> jp
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >URL Encoding (From: "Mike Chambers" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.