Page 1 of 1

Saving files in older formats 4.0

Posted: Fri Dec 28, 2007 9:50 am
by ikosoft
Hi,
I'm using XLSReadWriteII 3.01.02 and I'm trying to create a XLS file in older Excel 4.0 format. I save the file, but when opened it with Excel, in every cell where i had written string in Bulgarian, the last symbol of string is missing, and there is additional symbol in first place of string. When I change the type of excel file - instead xvExcel40 use xvExcel97 the things are all right.
Can you help me with this?

Posted: Tue Jan 01, 2008 9:00 pm
by larsa
Hello

Your string probably contains unicode characters. You have to convert the unicode characters to single byte characters first, according to the codepage used.


Lars Arvidsson

Problem to convert Unicode

Posted: Tue Mar 11, 2008 3:55 pm
by F-Laurent
I have the same problem.
I have to try to convert my strings from unicode to single byte characters first.
For that, I have to use the delphi functions "WideCharToString" and "WideCharToStrVar" but the problem is always present.
Have you a small example to describe how resolve the problem?

Thank you for your help.
Best regards.