We have installed version 7.9.3 and when saving a sil the strings in simplified Chinese are saved strangely and cannot be reloaded.
Is there a solution?
Thank you very much
Error saving sil in 7.9.3
Re: Error saving sil in 7.9.3
Please send us the sample SIL and we will check it. It looks like the content was not converted to UTF8 or so.
Best regards,
Igor Siticov.
Igor Siticov.
Re: Error saving sil in 7.9.3
I send you 2 sils, one with version 7.9.0.1 and the other with version 7.9.3.0. The old version works perfectly and the new one does not.
Re: Error saving sil in 7.9.3
Just checked your file with SIL Editor 6.5.24.143 (available on the web site for download):
and it creates SIL file exactly the same as yours ShoeData7.9.0.1.sil:
Could you please check your version of the SIL Editor?Best regards,
Igor Siticov.
Igor Siticov.
Re: Error saving sil in 7.9.3
Hi, I have checked the version of SIL Editor and the version is the same. I send you a video where you can see how I save the sil file and the translations are lost.
http://upload.inescop.es/www/?a=d&i=7001642185
Thank you very much and I hope you can help us
http://upload.inescop.es/www/?a=d&i=7001642185
Thank you very much and I hope you can help us
Re: Error saving sil in 7.9.3
Thank you for the video. It helped us to find the problematic code and fix it. The fix will apply in next update release. If you have a Full Source license and can't wait till the update you can try to apply the fix by yourself.
The fix:
1. Open siComp.pas file.
2. Locate the method:
3. Find the following lines below:
4. Replace them with the following:
5. Rebuild the TsiLang run-time package (the one with R at the end of file name).
The fix:
1. Open siComp.pas file.
2. Locate the method:
Code: Select all
function TsiCustomLang.SaveToStream(PropType: TStringsType;
AStream: TStream; const Delimiter: Tstring): Integer;
Code: Select all
{$IFDEF DELPHI2009}
S1 := ConvertLineFromUnicode(S1);
{$ENDIF}
Code: Select all
{$IFDEF DELPHI2009}
if not StoreAsUTF8 then
S1 := ConvertLineFromUnicode(S1);
{$ENDIF}
Best regards,
Igor Siticov.
Igor Siticov.
Re: Error saving sil in 7.9.3
Thank you very much!