FROM : Jean-Daniel Dupas
DATE : Wed Apr 02 21:46:48 2008
Le 2 avr. 08 à 20:56, Ken Thomases a écrit :
> On Apr 2, 2008, at 6:46 AM, Jean-Daniel Dupas wrote:
>>
>> Le 2 avr. 08 à 12:52, Keith Duncan a écrit :
>>
>>>> Oh. Looks like I'm off the hook. The UTI, I expect, is the bundle
>>>> identifier, no?
>>>
>>> I don't think anyone actually answered this question for you.
>>> Basically no, your bundle identifier is a URI.
>>>
>>
>> And to complete the answer, UTI are here to «replace» Type code,
>> not Creator code.
>
> Except it doesn't. As others have pointed out, you can tag a file
> with a type code and/or you can tag it with a filename extension.
> But you can't tag it with a UTI. A UTI is _derived_from_ the things
> it would replace. Given a naked file, you can't come up with its
> UTI (except perhaps in rare cases by file magic).
>
> Thus we still need filename extensions and, I think, type codes.
> Which is a bit of a shame.
I know, I'm one of the first that point this problem in the
discussion, that why I put quote (or chevrons as you prefere) around
“replace” ;-)
Anyway, even if it was possible to attach an UTI to a file, you would
be force to continue to use (nasty old fashioned) extensions for
compatibility with other OS.
Do not forget that OS X reintroduce extensions for this purpose.
DATE : Wed Apr 02 21:46:48 2008
Le 2 avr. 08 à 20:56, Ken Thomases a écrit :
> On Apr 2, 2008, at 6:46 AM, Jean-Daniel Dupas wrote:
>>
>> Le 2 avr. 08 à 12:52, Keith Duncan a écrit :
>>
>>>> Oh. Looks like I'm off the hook. The UTI, I expect, is the bundle
>>>> identifier, no?
>>>
>>> I don't think anyone actually answered this question for you.
>>> Basically no, your bundle identifier is a URI.
>>>
>>
>> And to complete the answer, UTI are here to «replace» Type code,
>> not Creator code.
>
> Except it doesn't. As others have pointed out, you can tag a file
> with a type code and/or you can tag it with a filename extension.
> But you can't tag it with a UTI. A UTI is _derived_from_ the things
> it would replace. Given a naked file, you can't come up with its
> UTI (except perhaps in rare cases by file magic).
>
> Thus we still need filename extensions and, I think, type codes.
> Which is a bit of a shame.
I know, I'm one of the first that point this problem in the
discussion, that why I put quote (or chevrons as you prefere) around
“replace” ;-)
Anyway, even if it was possible to attach an UTI to a file, you would
be force to continue to use (nasty old fashioned) extensions for
compatibility with other OS.
Do not forget that OS X reintroduce extensions for this purpose.
| Related mails | Author | Date |
|---|---|---|
| Marc Respass | Apr 1, 21:59 | |
| Ricky Sharp | Apr 1, 22:22 | |
| Marc Respass | Apr 1, 22:26 | |
| Andrew Farmer | Apr 1, 22:26 | |
| Jeff LaMarche | Apr 1, 22:28 | |
| Marc Respass | Apr 1, 23:35 | |
| has | Apr 2, 00:51 | |
| Jean-Daniel Dupas | Apr 2, 01:42 | |
| Rainer Brockerhoff | Apr 2, 01:44 | |
| Dave Sopchak | Apr 2, 04:00 | |
| Keith Duncan | Apr 2, 12:52 | |
| Jean-Daniel Dupas | Apr 2, 13:46 | |
| Uli Kusterer | Apr 2, 17:17 | |
| Ali Ozer | Apr 2, 18:42 | |
| Ken Thomases | Apr 2, 20:56 | |
| Jean-Daniel Dupas | Apr 2, 21:46 | |
| Scott Ribe | Apr 4, 01:08 | |
| Ali Ozer | Apr 4, 19:14 | |
| John Siracusa | Apr 4, 19:36 | |
| Scott Ribe | Apr 4, 20:06 | |
| Scott Anguish | Apr 4, 20:31 | |
| Matt Neuburg | Apr 4, 20:45 | |
| Kevin Dixon | Apr 5, 19:41 | |
| Uli Kusterer | Apr 5, 20:06 |






Cocoa mail archive

