Decompress cross platform
J. Landman Gay
jacque at hyperactivesw.com
Fri Oct 3 16:23:01 EDT 2003
On 10/3/03 3:13 PM, Jeanne A. E. DeVoto wrote:
> At 2:14 PM -0500 10/3/2003, J. Landman Gay wrote:
>> The data decompresses fine on whatever platform did the compression.
>> But when the data is compressed on Windows, it won't decompress when
>> the stack is copied to a Mac. When the data is compressed on a Mac, it
>> won't decompress when the stack is copied to Windows. I suspect this
>> may have something to do with line endings, but maybe not. In any
>> case, I get an error saying the data is not compressed data.
> I haven't checked this, but I'll bet it's because of the automatic
> character set conversion between Mac and Windows/Unix. So the fix would
> be to either store the thing in a custom property (which doesn't have
> this conversion done) or to run it through MacToISO or ISOToMac, as
> appropriate, before decompressing it.
Doesn't seem to work. :(
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the Use-livecode