• 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: Emmanuel LEVY <email@hidden>
  • Date: Thu, 07 Aug 2014 10:10:21 +0200

I would say:

Start with UTF-16, because if a file is not UTF-16, and it uses more than ASCII characters, it is very, very, very unlikely to be able to read as UTF-16. So if UTF-16 fails, you can drop back to something else, for instance UTF-8, etc.

Best,
Emmanuel

On Aug 7, 2014, at 1:42 AM, Shane Stanley wrote:

> Start with UTF-8, because if a file is not UTF-8, and it uses more than ASCII characters, it is very, very unlikely to be able to read as UTF-8. So if UTF-8 fails, you can drop back to something else.
>
> But there's no foolproof method.
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> 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


 _______________________________________________
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: Read a text file
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Read a text file (From: Shane Stanley <email@hidden>)
 >Re: Read a text file (From: Gil Dawson <email@hidden>)
 >Re: Read a text file (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Applescript AeroSnap
  • 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