Exported file characters are mixed with "?"
Posted: Sat Oct 05, 2013 1:00 pm
Hi we are using version 4 of the component because i bought it before some time. And i have a lot of code with ver.4 in XE3 which work ok.
We migrated to XE4 and now we have troubles with strange characters on the exported excel file.
For instance i use following code:
The strings "Counting1", "Counting2" in the exported file are writed as following:
1. C?o?un?t?in?g?1
2. C?o?un?t?in?g?2
I tried with C++ Builder, but result is the same. We tried with Coverting stigns to widechar,utf8,String, ByteArray but the result is the same exept "?" is placed in different places. We tried also with trial version of XLSReadWrite 5 , but there file password encrypting doesn`t work and we have to change a lot of code.
So we will be grateful for any help...?!
Best Regards!
We migrated to XE4 and now we have troubles with strange characters on the exported excel file.
For instance i use following code:
Code: Select all
xls.Sheet[0].AsString[1,0] := "Counting1";
xls.Sheet[0].AsWideString[1,0] := "Counting2";
xls.Password := "some pass";
xls.FileName = "FNAME":
xls.Write();
1. C?o?un?t?in?g?1
2. C?o?un?t?in?g?2
I tried with C++ Builder, but result is the same. We tried with Coverting stigns to widechar,utf8,String, ByteArray but the result is the same exept "?" is placed in different places. We tried also with trial version of XLSReadWrite 5 , but there file password encrypting doesn`t work and we have to change a lot of code.
So we will be grateful for any help...?!
Best Regards!