• 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: Bad Characters from Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad Characters from Unicode


  • Subject: Re: Bad Characters from Unicode
  • From: Philip Aker <email@hidden>
  • Date: Fri, 05 Oct 2007 19:43:33 -0700

On 2007-05-10, at 07:24, Sander Tekelenburg wrote:

[...] just "filename.U08" wouldn't tell you whether it's a text file, a HTML file, a CSS file, a PHP, perl, sql file, etc.

That's essentially correct, but lots of apps scan the first few lines of the file and make a reasonable guess.

Sure, but 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?

Greetings Sander,

For myself, I know that anything I have labeled .utf8, .utxt and .txt is just arbitrary text and not formatted code. Except for one circumstance (.applescript files [1]), I also know that all my suffixed files like .sh, etc., are utf-8.

For scripting purposes, I've created MetaData.osax although I mostly use it as search for files in a hierarchy by criteria rather than to obtain file info.

The OS could indicate such distinctions through icons, I suppose -- maybe UTIs will get us there, some day (in October? :)).

One would hope the Cocoamites will finally wake up by that time. Can't help but notice it's been remarked far and wide how ye olde resource fork file type and creator provided a good solution much more efficiently.


Philip Aker
email@hidden

[1] The AppleScript team (i.e. Chris Nebel) is aware of the problem with .applescript when the encoding is utf-8.

_______________________________________________
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
  • Follow-Ups:
    • Re: Bad Characters from Unicode
      • From: Sander Tekelenburg <email@hidden>
References: 
 >Re: Bad Characters from Unicode (From: has <email@hidden>)
 >Re: [OT] Bad Characters from Unicode (From: "Mark J. Reed" <email@hidden>)
 >Re: Bad Characters from Unicode (From: Sander Tekelenburg <email@hidden>)
 >Re: Bad Characters from Unicode (From: Doug McNutt <email@hidden>)
 >Re: Bad Characters from Unicode (From: Sander Tekelenburg <email@hidden>)
 >Re: Bad Characters from Unicode (From: Philip Aker <email@hidden>)
 >Re: Bad Characters from Unicode (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: Re: Scripting InDesign Tables
  • Next by Date: Re: Bad Characters from UnicodeŠ
  • Previous by thread: Re: Bad Characters from Unicode
  • Next by thread: Re: Bad Characters from Unicode
  • Index(es):
    • Date
    • Thread