Page 1 of 1

Double Characters recived when using Direct mode

Posted: Tue 24 Jan 2006 16:50
by vilas
After setting mode to direct, data retrieved from oracle 9i contains double characters.

So for each single character we receive two bytes from the DB. The same thing doesn't happen if we connect through OCI mode.

Please guide on possible solution.

Earlier we thought that this is happening due to unicode set to true. but after setting unicode to false, we get the same thing.

Actually the 20 Hexcode gets prepend to each character, so for "TEST"
we receive data as "T E S T" with space containing 20 in hexa.

Posted: Wed 25 Jan 2006 10:01
by Paul
We cannot reproduce your problem. Send us please small demo project to demonstrate the problem to OraDirect .NET support address and include script to create server objects.
Please specify full versions of OraDirect .NET, Oracle server, Oracle server database charset (NLS_CHARACTERSET), your Windows localization