UseUnicode option must be set to True ....

UseUnicode option must be set to True ....

Postby Thomas.Schweikert » Fri 14 Aug 2015 15:04

Hi,

we've switched from dbExpress driver v6.1.2.0 to the actual version v6.6.9.0.
Now we have the following issue:

When we try to connect to an oracle XE (v10) or to a v11 db we got an
error that we have to set the UseUnicode option to true. Both DBs dont run in unicode mode.
If we go back to v6.1.2 everything is ok.

Delphi XE5

Parameters:
DriverName=DevartOracle
GetDriverFunc=getSQLDriverORA
LibraryName=dbexpoda40.dll
VendorLib=OCI.DLL
BlobSize=-1
DataBase=XE
ErrorResourceFile=
LocaleCode=0000
Password=****
Oracle TransIsolation=ReadCommited
RoleName=Normal
User_Name=TEST
LongStrings=True
InternalName=
UseQuoteChar=False
UseUnicode=False
FetchAll=False
CharLength=0
Charset=WE8ISO8859P1
BCDPrecision=0
FloatPrecision=38
IntegerPrecision=10
Thomas.Schweikert
 
Posts: 30
Joined: Tue 27 Jun 2006 15:46

Re: UseUnicode option must be set to True ....

Postby AlexP » Mon 17 Aug 2015 05:55

Hello,

Setting the UnicodeEnvironment option to False solves the described problem.

Code: Select all
SQLConnection1.Params.Values['UnicodeEnvironment'] := 'False';
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: UseUnicode option must be set to True ....

Postby Thomas.Schweikert » Tue 15 Sep 2015 14:15

Thx a lot.

It works!
Thomas.Schweikert
 
Posts: 30
Joined: Tue 27 Jun 2006 15:46

Re: UseUnicode option must be set to True ....

Postby AlexP » Wed 16 Sep 2015 06:34

You are welcome. Feel free to contact us if you have any further questions.
AlexP
Devart Team
 
Posts: 5530
Joined: Tue 10 Aug 2010 11:35


Return to dbExpress driver for Oracle