Re: Problems with "load script" revisited
Re: Problems with "load script" revisited
- Subject: Re: Problems with "load script" revisited
- From: christian vick <email@hidden>
- Date: Thu, 31 Jan 2002 16:32:12 +0100
on 1/29/02 12:24 AM, Helmut Fuchs at email@hidden wrote:
>
my experiments with "load script" and "store script" seem to lead
>
nowhere. Strange crashes occur and "load Script" is sometimes simply
>
loading unusable data... I believe it has something to do with
>
Unicode texts in the objects I store, but this is just a guess.
In my experience the usage of unicode text in AS is often evil. I avoid it
where I can. Unfortunately many results in OS X are unicode now, so i have
to convert them all to plain text for further usage.
'store script' seems to have a bug in OS X (AS 1.8.1 and 1.8.2b1). I have a
script which saves prefs in a script object and the resulting file is
usually few KB in size. Under OS X the file is about 220 KB and in some
cases it contained the _whole_ source code of the script.
I was unable to strip the script to the relevant parts, it seems the problem
happens only under very special circumstances. Your hint with the unicode
text might be valuable - I don9t think I saved unicode in the prefs but I
will recheck it.
Greetings
Cris :-)