You are not logged in.
Pages: 1
Thank you for your reply
Embarcadero Delphi for Win64 compiler version 35.0
You're right, just garbled in the debugger and placed it in a string variable, that's correct.
The method AddValue of the TDocVariant object displays Chinese garbled characters when adding a Chinese string
I will write a simple program
version 1.18
procedure TForm1.Button1Click(Sender: TObject);
var
lItem: TDocVariantData;
begin
lItem.InitFast;
lItem.AddValue('Caption','哪个数据库');
end;
in debugger the lItem value is :
(271, [dvoIsObject,dvoReturnNullForUnknownProperty,dvoValueCopiedByReference], ('Caption', '', '', ''), ('鍝釜鏁版嵁搴'#$93, Unassigned, Unassigned, Unassigned), 1)
would you help me
Pages: 1