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

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/


References: 
 >Re: path names with spaces (From: Malte Tancred <email@hidden>)

  • Prev by Date: Re: Archiving three arrays
  • Next by Date: Re: Draggable NSImage of custom NSView ???
  • Previous by thread: Re: path names with spaces
  • Next by thread: Re: path names with spaces
  • Index(es):
    • Date
    • Thread