Page 1 of 1

Vista + Excel 2007 + Russian Charset

Posted: Mon Nov 16, 2009 12:28 pm
by Denismol
I trying your Demo projects in Delphi 2007 and Delphi 2009. When I try with Excel 97-2003 all work good with Russian charset (Delphi 2007 and 2009). When I trying with Excel 2007 Russian symbols don't read. In Delphi 2007 I have empty string instead of Cell with Russian symbols. In Delphi 2009 I have string with '?' instead of Cell with Russian symbols. When I save file with XLSReadWrite, Excel 2007 cann't open it.

What the problem? May be in Vista or may be you cann't work correct with utf-8 in xlsx format?

Re: Vista + Excel 2007 + Russian Charset

Posted: Tue Nov 17, 2009 11:11 am
by larsa
Hello

There seems to be a problem with the UTF-8 decoding in Excel 2007 files. I will fix this asap.

Re: Vista + Excel 2007 + Russian Charset

Posted: Wed Nov 25, 2009 11:29 am
by kexo
hi, i'm encountering the same problem reading xls2007 with Slovak charset...

Re: Vista + Excel 2007 + Russian Charset

Posted: Thu Nov 26, 2009 9:15 am
by larsa
Hello

This is fixed in update 4.00.26

Re: Vista + Excel 2007 + Russian Charset

Posted: Thu Nov 26, 2009 10:59 am
by kexo
Hi, i've tested the .26 version, but i'm still getting same results - empty strings read from cells containing special slovak characters.
I'm using XLS.Sheets[0].AsFmtString[7,0] syntax to access the cells.

Re: Vista + Excel 2007 + Russian Charset

Posted: Tue Dec 01, 2009 12:45 pm
by larsa
Hello

Can you please send me a sample of this file?

Re: Vista + Excel 2007 + Russian Charset

Posted: Tue Jan 26, 2010 12:55 pm
by Denismol
I testing versin .30. Now Russian Charset work correct. BUT I have other problem. After work with xlsx file, I save it and try open with MS Office 2007. MS Office 2007 say that :
"There is not readble data. Try to restore data?" (translate from Russian). Then MS say: "Delete component: path /xl/styles.xml with error XML (styles) impossible char xml. row 1, columns 5152.
Restore records: Information about cells from path /xl/worksheets/sheet1.xml".

Then MS Office open file, but there aren't borders and background colors.

Re: Vista + Excel 2007 + Russian Charset

Posted: Tue Jan 26, 2010 5:52 pm
by larsa
Hello

Please send me the file.

Re: Vista + Excel 2007 + Russian Charset

Posted: Wed Jan 27, 2010 10:34 am
by Denismol

Re: Vista + Excel 2007 + Russian Charset

Posted: Sat Jan 29, 2011 2:43 am
by vga
procedure TForm1.btn1Click(Sender: TObject);
begin
xls1.Version := xvExcel2007;
xls1.Sheet[0].AsInteger[1,1] := 90;
xls1.Filename := 'c:\aa.xlsx';
xls1.Write;
end;

'c:\aa.xlsx'; could not open by Excel 2007 , why?