Re: Passing a path with spaces inside
Re: Passing a path with spaces inside
- Subject: Re: Passing a path with spaces inside
- From: Ondra Cada <email@hidden>
- Date: Thu, 13 May 2004 22:53:55 +0200
#ukasz,
On 13.5.2004, at 21:10, #ukasz Kuczborski wrote:
>
I'm trying to pass a path with spaces inside ("/luku/Desktop/File
>
1.pdf") as query string to my WebView. The problem is, that WebView
>
doesn't see it as valid path anymore. I suppose I must change all
>
spaces into " " sign but don't have any idea how to do it.
In Jaguar, you have to use Carbon or DIY (which is not that difficult,
after all). In Panther, check NSString,
stringByAddingPercentEscapesUsingEncoding:.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.