Page 1 of 1

Unicode String Write

Posted: Thu Jul 31, 2008 12:04 am
by vga
My OS: windows XP sp3 (chinese)

I use xlsreadwriteII 3.

I write a unicode string to a xls file.

when open xls file, the char of unicode string change to '?'



Thank you very much.

Regards

example

Posted: Thu Jul 31, 2008 4:47 am
by vga
procedure TForm1.btn1Click(Sender: TObject);
begin
XLSR.Read;
XLSR.Sheets[0].AsString[2, 2] := XLSR.Sheets[0].AsString[1, 1];
XLSR.Write;
end;


XLSR.Sheets[0].AsString[1, 1] : Kißlegg

then

XLSR.Sheets[0].AsString[2, 2] : Ki?legg

I 've got it!

Posted: Thu Jul 31, 2008 6:14 am
by vga
I 've got it!

I rewrite Function IsUnicode .