Re: NSURL question (not so easy (i think))
Re: NSURL question (not so easy (i think))
- Subject: Re: NSURL question (not so easy (i think))
- From: Sherm Pendley <email@hidden>
- Date: Thu, 30 May 2002 18:23:19 -0400
On Thursday, May 30, 2002, at 05:53 PM, Mamdouh wrote:
>
Ok then, thanks for clearing things up for me! If i understand this
>
right, i need to replace spaces with ,
Not just spaces - you need to replace *all* unsafe characters, including
but not limited to spaces, with their percent-escaped equivalents.
>
but i don4t really know how, i think its something about
>
replaceCharactersInRange, but i4m not sure?!!?!
>
Do you guys know how i can use this ( ) in my code?
I explained this, in my previous email:
'Fortunately, Apple has provided a function that will escape unsafe
characters for you - search the archives for
"CFURLCreateStringByAddingPercentEscapes"'
As I said before, search the archives - they're at <URL:
http://cocoa.mamasam.com>.
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
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.