• 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: Design Report for Scripts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Design Report for Scripts?


  • Subject: Re: Design Report for Scripts?
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 21 Nov 2015 13:07:10 +0100

> Le 2015/11/21 à 12:12, Shane Stanley <email@hidden> a écrit :
>
> On 21 Nov 2015, at 8:15 PM, Yvan KOENIG <email@hidden> wrote:
>>
>> To test it, I grabbed a script stored for months as .applescript. I have a lot of them because as they are large, the editor refused to store them as .scpt. All of them are stored as Utf16 so I used «class ut16» to read them.
>> After receiving Stan’s posts I exported some other scripts and this time, the files are plain text ones. I don’t understand what made the difference.
>
> It used to be if the characters used in a script were all within the MacRoman character set, the file would be saved as MacRoman, otherwise it would be saved as Unicode. I thought the fallback now was UTF-8, but I haven't looked in a while. No -- it looks like it’s still UTF-16.

Thanks Shane.

In the original scripts which I was forced to save as .applescript files, there were some chinese characters which may be why the script was encoded in Utf 16.


Yvan KOENIG running El Capitan 10.11.1 in French (VALLAURIS, France) samedi 21 novembre 2015 13:07:04


 _______________________________________________
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: Design Report for Scripts?
      • From: Shane Stanley <email@hidden>
References: 
 >Design Report for Scripts? (From: "S. J. Cunningham" <email@hidden>)
 >Re: Design Report for Scripts? (From: Yvan KOENIG <email@hidden>)
 >Re: Design Report for Scripts? (From: Yvan KOENIG <email@hidden>)
 >Re: Design Report for Scripts? (From: Yvan KOENIG <email@hidden>)
 >Re: Design Report for Scripts? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Design Report for Scripts?
  • Next by Date: Re: Design Report for Scripts?
  • Previous by thread: Re: Design Report for Scripts?
  • Next by thread: Re: Design Report for Scripts?
  • Index(es):
    • Date
    • Thread