• 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
URI de/encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URI de/encoding


  • Subject: URI de/encoding
  • From: gnat <email@hidden>
  • Date: Thu, 18 May 2006 10:08:25 -0400

Hello,
As much as URI's are used in Cocoa, I imagine there has to be some method in one of the Cocoa objects that will handle encoding and decoding URI's but I haven't been able to find it yet. Can someone point me in the right direction?


Specifically I am reading a XML file that contains file://localhost URIs that I am trying to copy to another location with NSFileManager copyPath:toPath:handler:, but it doesn't like the URI encodings like % 20. It seems to be fine with the actual characters though. Maybe there is a better way to copy files using URIs instead of trying to translate the paths?

Thanks,
-dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: URI de/encoding
      • From: "Justin R. Miller" <email@hidden>
    • Re: URI de/encoding
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Variable scope/lifetime of class methods (concerns Threads)
  • Next by Date: How subclass NSTreeController's -(void)insertChild:?
  • Previous by thread: Re: awakeFromNib not called immediatly after initWithWindowNibName
  • Next by thread: Re: URI de/encoding
  • Index(es):
    • Date
    • Thread