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 23:23:34 +1100
On 21 Nov 2015, at 11:07 PM, Yvan KOENIG <email@hidden> wrote:
>
> 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.
Just to confuse things more... There's no rule on what encoding is used. Xcode, Script Debugger (which Steve uses) and ASObjC Explorer all use UTF-8 (which SE also reads).
So it's probably safest to try UTF-8 first, and if that errors (which is more or less bound to happen if it's not UTF-8 or UTF-8-compatible), try MacRoman and look for the UTF-16 BOM at the beginning ("ˇ˛"), and if you find that, then use 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