NSURL fileURLWithPath doesn't produce a valid URL
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