• 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: Read a text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read a text file


  • Subject: Re: Read a text file
  • From: Gil Dawson <email@hidden>
  • Date: Wed, 30 Jul 2014 13:45:37 -0700

Hi, Chris---
On Jul 30, 2014, at 14:05, Gil Dawson <email@hidden> wrote:
Where is TextWrangler getting this information?

On Jul 30, 2014, at 12:58 PM, Christopher Stone wrote:
TextWrangler analyzes the contents of a file for type - at least if it hasn't been manually set in the TextWrangler/BBEdit UI and saved.

But, in the experiment I performed,... all three files had identical content: the string, ""It is summertime!".  I chose that string because the characters are the same in each of the three encodings (I think).  So what's to analyze?

The difference between them was that I had saved each with a different encoding from TextEdit, then I quit TextEdit.

But, when I opened the three files with TextWrangler, TextWrangler correctly diagnosed each of the three files.

So the encoding must have been recorded in each of the files somehow.

I'll pose this on the TextWrangler list to see if I learn anything there.

Thanks for getting me interested in this.

--Gil





 _______________________________________________
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


References: 
 >Encrypt/Decrypt a Text File (From: Eric Geoffroy <email@hidden>)
 >Read a text file (From: Gil Dawson <email@hidden>)
 >Re: Read a text file (From: Gil Dawson <email@hidden>)
 >Re: Read a text file (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Read a text file
  • Next by Date: Re: Read a text file
  • Previous by thread: Re: Read a text file
  • Next by thread: Re: Read a text file
  • Index(es):
    • Date
    • Thread