Re: Design Report for Scripts?
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