FROM : Markus Hitter
DATE : Thu Jan 17 21:31:12 2002
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/
DATE : Thu Jan 17 21:31:12 2002
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/
| Related mails | Author | Date |
|---|---|---|
| Andreas Wolf | Jan 17, 02:01 | |
| Ben Jansen | Jan 17, 02:32 | |
| dave sapone | Jan 17, 11:53 | |
| Markus Hitter | Jan 17, 12:08 | |
| Clark S. Cox III | Jan 17, 14:55 | |
| Douglas Davidson | Jan 17, 18:34 | |
| Malte Tancred | Jan 17, 19:23 | |
| Andrew Pinski | Jan 17, 19:33 | |
| Douglas Davidson | Jan 17, 19:36 | |
| Malte Tancred | Jan 17, 20:17 | |
| Markus Hitter | Jan 17, 21:31 |






Cocoa mail archive

