It only tested on Delphi 2007
You need to set TZConnection.Options as
Code: Select all
codepage=utf8
client_encoding=utf8
If you use D7 please help me to solve this problem..
Moderators: gto, cipto_kh, EgonHugeist, mdaems
Code: Select all
codepage=utf8
client_encoding=utf8
Code: Select all
+++ src/component/ZSqlProcessor.pas Fri Aug 08 17:21:48 2008
@@ -506,6 +506,15 @@
Stream.Free;
end;
end;
+ ftWideMemo:
+ begin
+ Stream := WideStringStream(Param.AsWideString);
+ try
+ Statement.SetAsciiStream(I + 1, Stream); <<---- SetUnicodeStream??
+ finally
+ Stream.Free;
+ end;
+ end;
ftBlob, ftGraphic:
begin
Stream := TStringStream.Create(Param.AsBlob);