• 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
NSURL fileURLWithPath doesn't produce a valid URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURL fileURLWithPath doesn't produce a valid URL


  • Subject: NSURL fileURLWithPath doesn't produce a valid URL
  • From: Alexander Bokovikov <email@hidden>
  • Date: Fri, 31 Jul 2009 11:35:42 +0600

Hi, All,

I've found that [NSURL fileURLWithPath] doesn't convert such symbols as "+" into URL-encoded format. It only converts blanks into . As a result, such path, as _CS_DARWIN_USER_DIR, will not be converted into a valid URL. Is there any method or function here to produce a valid URL-encoded strings? Of course, I can do it by hands, but I'd just like to know if there is a correct standard way.

Thanks.

_______________________________________________

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSURL fileURLWithPath doesn't produce a valid URL
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: NSMutableDictionary Poitners
  • Next by Date: Re: NSURL fileURLWithPath doesn't produce a valid URL
  • Previous by thread: Re: Stumped by EXEC_BAD_ACCESS
  • Next by thread: Re: NSURL fileURLWithPath doesn't produce a valid URL
  • Index(es):
    • Date
    • Thread