• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURL question (not so easy (i think))
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSURL question (Its working! Thanks for the help!)
      • From: Mamdouh <email@hidden>
References: 
 >Re: NSURL question (not so easy (i think)) (From: Mamdouh <email@hidden>)

  • Prev by Date: Adding a NSScriptObjectSpecifier to an event
  • Next by Date: Re: Quick question about NSWorkspaceDidLaunchApplicationNotification
  • Previous by thread: Re: NSURL question (not so easy (i think))
  • Next by thread: Re: NSURL question (Its working! Thanks for the help!)
  • Index(es):
    • Date
    • Thread