Re: Bad Characters from Unicode
Re: Bad Characters from Unicode
- Subject: Re: Bad Characters from Unicode
- From: Sander Tekelenburg <email@hidden>
- Date: Sat, 6 Oct 2007 10:09:21 +0200
At 14:43 -0400 UTC, on 2007-10-05, Mark J. Reed wrote:
> On 10/5/07, Sander Tekelenburg <email@hidden> wrote:
[...]
>> when you've got a directory full of .utf8 files, how do you quickly
>> tell the HTML ones apart from the CSS ones, from the PHP and the Perl ones?
>>
>> The OS could indicate such distinctions through icons, I suppose -- maybe
>> UTIs will get us there, some day (in October? :)).
>
> Uh-huh. So how does the os know?
It needs to be told, upon saving a file, and needs to store that in UTIs or a
file type resource.
The thing is that traditionally files get icons assigned based mostly on the
creator type, so a HTML and a CSS file might well get the exact same icon.
That's OK as long as the file name extension indicates the file type. But if
you replace that with a character encoding indicator...
So it seems more practical to me to indicate both file type and character
encoding through the file name. It's not exactly pretty, but I don't know
what better option there is available right now. And it is an existing
convention in at least Apache (through MultiViews). Also supported by iCab
btw.
Btw, I haven't looked deep into UTIs, but possibly character encodings could
be stored that way.
--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden