Hello
I downloaded your sample. I will notify you as soon as we have any result.
Length problem with unicode surrogate pairs
Hello
I created the table:
CREATE TABLE TEST
(
ID NUMBER,
NAME_40B VARCHAR2(40 BYTE),
NAME_10C VARCHAR2(10 CHAR)
)
And I have checked this issue with dbExpress driver for Oracle ver. 4.70.22 and this code is working correctly:
begin
SQLConnection1.ExecuteDirect('delete from test');
SimpleDataSet1.Append;
SimpleDataSet1.FieldByName('ID').AsInteger := 1;
SimpleDataSet1.FieldByName('NAME_40B').AsWideString := '戴志存戴志存戴志存戴';
SimpleDataSet1.FieldByName('NAME_10C').AsWideString := '戴志存戴志存戴志存戴';
SimpleDataSet1.Post;
end;
Please try to download the latest dbExpress driver for Oracle and check it.
I created the table:
CREATE TABLE TEST
(
ID NUMBER,
NAME_40B VARCHAR2(40 BYTE),
NAME_10C VARCHAR2(10 CHAR)
)
And I have checked this issue with dbExpress driver for Oracle ver. 4.70.22 and this code is working correctly:
begin
SQLConnection1.ExecuteDirect('delete from test');
SimpleDataSet1.Append;
SimpleDataSet1.FieldByName('ID').AsInteger := 1;
SimpleDataSet1.FieldByName('NAME_40B').AsWideString := '戴志存戴志存戴志存戴';
SimpleDataSet1.FieldByName('NAME_10C').AsWideString := '戴志存戴志存戴志存戴';
SimpleDataSet1.Post;
end;
Please try to download the latest dbExpress driver for Oracle and check it.