Hello,
I have an very old stack, which works well until LC 6.5.1. Now LC changes to Unicode, and flying accents (in a polytonic Greek font) don't work correctly in LC 6.5.2 and later versions. So I wanted to change to LC 7, in order to use Unicode in the future.
Now, opening the stack by LC 7 works well. But, if I save the stack as a "Livecode Stack", at first it works well. But after closing and reopening the stack by LC 7 (and all other versions) it is "corrupt".
If I save the stack as "Legacy Live Code stack 5.5" (I don't know, why this version and not 6.5.1, which I used before, is proposed), I can use Unicode, but the used characters are not saved, but are changed in "?"
Can somebody help me?
Gottfried
stack corrupted when changing to Livecode 7
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: stack corrupted when changing to Livecode 7
Hi Gottfried,
LC 7 now uses a new file format to keep all the new Unicode stuff in the stacks, older versions of LC do NOT support unicode (as full as 7.x)!
Now if you save a Unicod(ed) stack in version 7.x to an older format, all the Unicode stuff is GONE, and you cannot do anything about it.
If you need unicode, use version 7.x, no way to have full unicode support in older versions, too!
Best
Klaus
LC 7 now uses a new file format to keep all the new Unicode stuff in the stacks, older versions of LC do NOT support unicode (as full as 7.x)!
Now if you save a Unicod(ed) stack in version 7.x to an older format, all the Unicode stuff is GONE, and you cannot do anything about it.
If you need unicode, use version 7.x, no way to have full unicode support in older versions, too!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 10045
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: stack corrupted when changing to Livecode 7
Klaus has covered the other aspects well here; any older version of any software will not be able to understand formats created after it.GoSm wrote:If I save the stack as "Legacy Live Code stack 5.5" (I don't know, why this version and not 6.5.1, which I used before, is proposed)
As for the versions shown in "Save As", those are the earliest versions in which each format premiered. So while you happened to have been using v6.5.1, the format that version uses was defined with v5.5, which is among the versions show in the Save As options.
Version 7 provides support for the previous three file formats in addition to the current one, providing backward compatibility spanning more than a decade of LiveCode versions.
But as Klaus noted, features specific to a given format won't be preserved when saving to a format that predates the existence of those features, such as Unicode which is specific to v7.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: stack corrupted when changing to Livecode 7
Thanks to Klaus and FourthWorld. I think, I understand the problems of backward saving now better.
But my principal question - omitting all things, that I added for a complete description - was this:
I open the stack by Livecode 7. After some scripting using unicode characters ...
I save the stack by the option "Save as ... Livecode Stack".
I close Livecode 7.
I reopen Livecode 7 and try to open my stack - but it is corrupted.
Please be patient with a convinced, but rather old LC-User and answer once more!
Gottfried
But my principal question - omitting all things, that I added for a complete description - was this:
I open the stack by Livecode 7. After some scripting using unicode characters ...
I save the stack by the option "Save as ... Livecode Stack".
I close Livecode 7.
I reopen Livecode 7 and try to open my stack - but it is corrupted.
Please be patient with a convinced, but rather old LC-User and answer once more!
Gottfried
-
- VIP Livecode Opensource Backer
- Posts: 10045
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: stack corrupted when changing to Livecode 7
Which version of 7 was the stack created with, and which version are you currently using? Stack file corruption is extremely rare in LiveCode, but not impossible, esp. of the stack was originally saved with a very early version of v7dp.
If the stack file is unrecoverable it may be helpful to send it to support @ runrev.com so they can both see if it may be recoverable and to try to identify whether it's truly corrupted and how the corruption occurred.
If the stack file is unrecoverable it may be helpful to send it to support @ runrev.com so they can both see if it may be recoverable and to try to identify whether it's truly corrupted and how the corruption occurred.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: stack corrupted when changing to Livecode 7
I am using 7.01; the stack was created in runrev 2..., then modernized until 6.5.1, from there I opened it by 7.0 and 7.01 - always with the desribed effect.FourthWorld wrote:Which version of 7 was the stack created with, and which version are you currently using? Stack file corruption is extremely rare in LiveCode, but not impossible, esp. of the stack was originally saved with a very early version of v7dp.
I will try it, and many thanks for your answer,If the stack file is unrecoverable it may be helpful to send it to support @ runrev.com so they can both see if it may be recoverable and to try to identify whether it's truly corrupted and how the corruption occurred.
Gottfried