How do you deal with spaces when making a valid posix path? I'm using a library that converts spaces to %20, but using %20 doesn't seem to work with any standard posix functions that deals with files.
The library is Apple's CoreFoundation, and the function that returns the posix path with spaces encoded as %20 is CFStringGetFileSystemRepresentation.