National characters in field name problem in 9.1.3

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
AdamKG
Posts: 18
Joined: Fri 13 Nov 2009 10:32

National characters in field name problem in 9.1.3

Post by AdamKG » Mon 30 Sep 2013 14:42

Hello,

Code: Select all

select 'Test' bad_ł_name from dual
Works in Delphi 2007 and doesn't in XE3. In XE3 I got parser error both design and runtime.

Is there workaroud for this?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: National characters in field name problem in 9.1.3

Post by AlexP » Tue 01 Oct 2013 09:23

Hello,

To make such query work, you should set the UseUnicode option and OCIUnicode (declared in OraCall) to True

Code: Select all

uses ..., OraCall;
....
OCIUnicode := true;
OraSession1.Options.UseUnicode := True;
OraSession1.Connect;

Post Reply