Page 1 of 1

UseUnicode=true not working with Net=true

Posted: Fri 16 Sep 2005 06:08
by gaylenmiller
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.)

Posted: Fri 16 Sep 2005 06:33
by Paul
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.

Posted: Mon 06 Feb 2006 15:18
by Paul
Did you solve this problem? Can you send us small demo project to demonstrate the problem, including
script to create server objects?

Posted: Tue 23 May 2006 09:53
by fandm
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 '?????'.

Posted: Wed 24 May 2006 11:12
by Alex
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.

Unicode

Posted: Fri 26 May 2006 11:33
by lexa2000
You can explain in detail nuances of work ODAC with Unicode with Net=true ? With Net=false all works perfectly.