• 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: Passing a path with spaces inside
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Passing a path with spaces inside (From: Łukasz Kuczborski <email@hidden>)

  • Prev by Date: Re: Is there a regular expression class for Objective C?
  • Next by Date: RE: [NSTableView setDrawsGrid:YES]
  • Previous by thread: Passing a path with spaces inside
  • Next by thread: Re: Passing a path with spaces inside
  • Index(es):
    • Date
    • Thread