Page 1 of 1

about sib file size

Posted: Mon Jun 29, 2009 9:49 am
by zero
Hello supporter

I've got a problem. There are english, simplified chinese, traiditonal chinese, japanese and italian in my project.

when save translation as sib file from BCB2009, it's file size is 172KB, then double click any box, and don't change anything, just save the file, now the file size will shrink (it's size is 105KB).

if I merge the file by SIL Editor command line , the file size is (103KB).

And only the file(172KB) will be work finely in different OS.

Can you help, what is worng? I intend to use command line to generate sib file. (my SIL Editor version is 6.4)

why no body help me?

Posted: Tue Jun 30, 2009 6:53 am
by zero
選取開機設備, CHINESEBIG5_CHARSET
启动设备选项, GB2312_CHARSET
起動デバイスの設定 SHIFTJIS_CHARSET

these strings save as sib from SIL Editor is worng,
save as sib from bcb is right

Posted: Tue Jun 30, 2009 2:28 pm
by isiticov
Did you receieve my message in PM?

Posted: Tue Apr 27, 2010 7:48 am
by Ian Hall
Hi Igor,

I see the same thing. Is there a fix?

Regards

Ian

Posted: Tue Apr 27, 2010 9:58 am
by isiticov
Hi Ian,

This was a pretty old issue and I beleive it was fixed quite some time ago.
So if you woud use the latest version from our web site you shoudn't see such behavior.

P.S. Sorry for the delay with forum activation.

Posted: Tue Apr 27, 2010 10:37 am
by Ian Hall
Hi Igor,

I am using v5.1.0.24, which I believe is the latest version.

Saving my SIB file from the D2010 IDE gives a file size of 200kb. Opening the file in the Tsilang Files Editor, and saving to a different file name creates a file of 117kb.

BeyondCompare shows that the original file contains the english text in Unicode strings, but the copy contains ASCII strings. The original file contains the text stCaptions_Unicode (2 bytes per char), and the copy contains stCaptions (one byte per char).

The only language I am currently supporting is Chinese, which is working well, but I need to allow users to edit the text for themselves, using your editor.

No worries on the delay in activating the account - stuff happens ;-)

Regards

Ian

Posted: Tue Apr 27, 2010 4:41 pm
by isiticov
Hi Ian,

This is not a problem. This chage is caused by the fact that SIL Editor is built under Delphi 7 and as result it creates "Ansi" SIB files, but Delphi 2010 produces Unicode SIB files. You shouldn't loss any details as TsiLang internally will handle such cases.