Re: Applescript and unicode
Re: Applescript and unicode
- Subject: Re: Applescript and unicode
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 20 Feb 2008 18:08:15 -0500
You have to take special steps to compile an application on 10.5 so
that it runs properly on 10.4. I dont use Studio, but this has come
up here recently, so you night try the archive (or better, the archive
of the studio list).
It does sound like a Unicode issue - it's not inserting "extra
characters", but rather using two bytes per character - called
"UTF-16" or "UCS-2" encoding. If all the characters in question have
scalar values below 256 then every other byte will be zero. But most
Mac apps that deal with text should handle such a file fine...
On 2/20/08, Chris Swain <email@hidden> wrote:
> I have an Applescript studio application that has worked fine for many
> years, I recently compiled it under Leopard and whilst it works fine
> under Leopard it now fails under Mac OS X 10.4.11.
>
> The problems seems to be that (under 10.4.11) when a text string is
> saved to a file the text has an invisible character between each
> character. When saved under 10.5 there are no invisible characters.
>
> I'm guessing this is an issue with unicode?
>
>
> Regards,
>
> Chris
> _______________________________________________
> 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
>
--
Mark J. Reed <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