UseUnicode=true not working with Net=true

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
gaylenmiller
Posts: 1
Joined: Fri 16 Sep 2005 06:01

UseUnicode=true not working with Net=true

Post by gaylenmiller » Fri 16 Sep 2005 06:08

I'm working in C++ Builder 6.0 and ODAC version 5.55 and the tnt unicode components. Works with net=false, but when I switch to net=true, the text comes up as ???????. I've tried different setting of CharLength and Charset and nothing I've tried works. (But with net=false none of these settings "breaks" either.)

Any suggestions?

(Very cool "net" option by the way. Could make deployment much easier.)

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Fri 16 Sep 2005 06:33

Please try to set
TOraSession.Options.CharLength := 0;
TOraSession.Options.Charset := 'UTF8';
TOraSession.Options.UseUnicode := False;
or
TOraSession.Options.CharLength := 0;
TOraSession.Options.Charset := '';
TOraSession.Options.UseUnicode := True;

Send us please small demo project to demonstrate the problem and include script to create server objects.

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Mon 06 Feb 2006 15:18

Did you solve this problem? Can you send us small demo project to demonstrate the problem, including
script to create server objects?

fandm
Posts: 21
Joined: Mon 26 Dec 2005 10:11
Location: Kiev
Contact:

Post by fandm » Tue 23 May 2006 09:53

Paul wrote:Did you solve this problem? Can you send us small demo project to demonstrate the problem, including
script to create server objects?
Oh!.. I have this problem too. Please, help!.. I use ODAC 5.55.1.22 with enabled Net option and Oracle 10g with DB Charset = AL32UTF8 and National Charset = AL16UTF16.
If I'm select from DB with unicode data stored in NVARCHAR2 field with Oracle SQL Developer 1.0 than all right, but INSERTs and UPDATEs from Delphi program not worked properly - the TntDBGrid showing only '?????'.

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Wed 24 May 2006 11:12

Please specify your Oracle server versions, ODAC version and sen us complete sample to demonstrate your problem with script to create server objects.
Please, send a message to our ODAC support e-mail address.

lexa2000
Posts: 1
Joined: Fri 26 May 2006 11:29

Unicode

Post by lexa2000 » Fri 26 May 2006 11:33

You can explain in detail nuances of work ODAC with Unicode with Net=true ? With Net=false all works perfectly.

Post Reply