How to change my charset to Portuguese Brazil ?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Dandl

How to change my charset to Portuguese Brazil ?

Post by Dandl » Mon 11 Apr 2005 17:19

I start to use de ODAC 4.00 for Delphi 7.
I used to use Delphi with BDE.

I have in my database string fields with results like 'RECEPÇÃO'.
But in ODAC, my system displays it like 'RECEP‡ÆO'

How to solve it?!

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Tue 12 Apr 2005 12:51

You can use Unicode characterset support, it initiated by setting TOraSession.Options.UseUnicode property to True.
In all cases I suggest you to update your ODAC version to the newest one.

Dandl

I haven't founded the propertie

Post by Dandl » Tue 12 Apr 2005 16:50

I haven't founded the propertie that you talk.
I have a X_Session.Option, but theres no Unicode propertie.

How can I solve this!?

Alex
Posts: 655
Joined: Mon 08 Nov 2004 08:39

Post by Alex » Wed 13 Apr 2005 12:41

Sorry it's my fault, indeed there is no TOraSession.Options.UseUnicode property in your version, I strongly recommend to update your ODAC version to the latest one (update within one version is for free i.e. you can get ODAC 4.50.3.23 at least). Also you can try to set up the right charset in TOraSession.Options.Charset property (see TOraSession.Options topic in ODAC help);

Post Reply