Re: path names with spaces
Re: path names with spaces
- Subject: Re: path names with spaces
- From: Markus Hitter <email@hidden>
- Date: Thu, 17 Jan 2002 21:31:12 +0100
Am Donnerstag den, 17. Januar 2002, um 20:17, schrieb Malte Tancred:
Douglas Davidson:
The BSD layer uses UTF-8. However, I believe the filesystem
may further expect UTF-8 filenames to be canonically decomposed,
which fileSystemRepresentation will provide.
Ah, but that's exactely the information I'd like to see
in the documentation. With a note about possible future
changes of course.
Why is the documentation always so sparse when it comes
to these kinds of comments?
You simply don't need it. Do you?
As soon as something is documented, people start relying on it.
With or without a note about a possible future change. This is
what an API vendor wants to avoid, of course.
If you do your decoding yourself, your code will break when the
change arrives. Using -fileSystemRepresentation, it will
probably work as before.
Then, for the rare cases you need the info, there is this Cocoa
Development list ...
Markus
P.S.: using -cString was silly, of course ;-)
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/