Re: path names with spaces
Re: path names with spaces
- Subject: Re: path names with spaces
- From: Douglas Davidson <email@hidden>
- Date: Thu, 17 Jan 2002 09:34:39 -0800
On Thursday, January 17, 2002, at 05:55 AM, Clark S. Cox III wrote:
Instead of [path cString], you should be using [path
fileSystemRepresentation]. If you use cString, and the string contains
characters that can't be represented by the default C-string encoding
(i.e.
it contains foreign characters), it will raise an exception.
Not to mention the fact that cString probably will not use the correct
encoding for dealing with the BSD layer, and fileSystemRepresentation
will.
Douglas Davidson