Length problem with unicode surrogate pairs

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Thu 05 Aug 2010 16:06

Hello

I downloaded your sample. I will notify you as soon as we have any result.

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Tue 12 Oct 2010 08:38

Hello

This bug was fixed in the lastest ODAC version (7.00.0.1). Sorry that it took a lot of time, this bug was difficult to reproduce.

devartfan
Posts: 17
Joined: Thu 30 Apr 2009 10:01

Post by devartfan » Tue 26 Oct 2010 10:11

Hello,

We have used the ODAC components only once to test this problem.
When will this bug be fixed in the dbexpress components ?

Regards

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Mon 01 Nov 2010 09:42

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.

Post Reply