Double Characters recived when using Direct mode

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
vilas
Posts: 2
Joined: Tue 24 Jan 2006 16:43

Double Characters recived when using Direct mode

Post by vilas » Tue 24 Jan 2006 16:50

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.

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

Post by Paul » Wed 25 Jan 2006 10:01

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

Post Reply