Re: Design Report for Scripts?
Re: Design Report for Scripts?
- Subject: Re: Design Report for Scripts?
- From: Shane Stanley <email@hidden>
- Date: Sat, 21 Nov 2015 22:12:13 +1100
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.
--
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