On 31.07.2009, at 14:57, Dave Keck wrote:

I'm confused:

NSLog(@"%@", CFURLCreateStringByAddingPercentEscapes(nil,
CFSTR("http://www.example.com?a+b & c = d"), nil, CFSTR("+=&"),
kCFStringEncodingUTF8));

That doesn't do what you want?

I've misunderstood. It was said "do it yourself" in the previous answer, but not "use CFURLCreateStringByAddingPercentEscapes with the necessary characters, included into the fourth argument", so I thought this function doesn't do what I need. Of course, I was not too careful when I read its description, where it was said, that fourth argument is just for my case.

Thanks.

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to