Page 1 of 1

UseUnicode option must be set to True ....

Posted: Fri 14 Aug 2015 15:04
by Thomas.Schweikert
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

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

Posted: Mon 17 Aug 2015 05:55
by AlexP
Hello,

Setting the UnicodeEnvironment option to False solves the described problem.

Code: Select all

 SQLConnection1.Params.Values['UnicodeEnvironment'] := 'False';

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

Posted: Tue 15 Sep 2015 14:15
by Thomas.Schweikert
Thx a lot.

It works!

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

Posted: Wed 16 Sep 2015 06:34
by AlexP
You are welcome. Feel free to contact us if you have any further questions.