cross-platform compress & decompress

Alex Rice alex at mindlube.com
Mon Dec 1 18:19:03 EST 2003


On Dec 1, 2003, at 4:19 PM, Mark Brownell wrote:

> I've read everything I can find in the archives and I'm wondering if 
> anyone has solved the cross-platform compress & decompress problems. I 
> would like to create a compressed text file on Mac X and open & 
> decompress it on Windows, the same goes for make on Windows & open on 
> Mac. I'm not sure but it looks like the different charSets for each OS 
> seems to be the problem. Anyway when I try to open made on Mac in 
> Windows the file is not recognized as being compressed. I've tried 
> stripping the header before decompressing with no luck. Perhaps a 
> cross-platform compress/decompress is in the works soon? I solved 
> these charSet OS issues in cross-platform encryption by converting to 
> numbers within the entire encryption/decryption process. This took the 
> relative positions of the different chars in charSets out of picture 
> until the final rendering takes place.

Would base64 encoding the content before compressing it be a suitable 
workaround for the char set issues?

Is there a bugzilla # I can read to get up to speed on this bug?


Alex Rice <alex at mindlube.com> | Mindlube Software | 
<http://mindlube.com>

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco



More information about the use-livecode mailing list