Unicode String Write

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
vga
Posts: 14
Joined: Tue Jul 29, 2008 9:19 pm

Unicode String Write

Post 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
vga
Posts: 14
Joined: Tue Jul 29, 2008 9:19 pm

example

Post 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
vga
Posts: 14
Joined: Tue Jul 29, 2008 9:19 pm

I 've got it!

Post by vga »

I 've got it!

I rewrite Function IsUnicode .
Post Reply