Unicode in Delphi 10.4
Posted: Tue 23 Feb 2021 13:33
Hello,
I have a problem to display Unicode (Cyrillic) symbols in Delphi 10.4. I can only see some strange symbols.
I am using Win10 + Delphi 10.4 + ODAC 11.3.2 for Delphi 10.4 + Oracle 11.
All the fields I use are TWideStringField. In the DB I use VARCHAR2 fields. I have configured the following TOraSession properties (I have tried turning each of them on and off):
Session.Options.UnicodeEnvironment := True;
Session.Options.UseUnicode := True;
Session.Options.Direct:= True;
In older versions of ODAC and Delphi, the code has worked, but I'm not sure since which version it stopped working. Are there any new properties I need to set? I tried to set a Charset as well, but it doen't work.
I have a problem to display Unicode (Cyrillic) symbols in Delphi 10.4. I can only see some strange symbols.
I am using Win10 + Delphi 10.4 + ODAC 11.3.2 for Delphi 10.4 + Oracle 11.
All the fields I use are TWideStringField. In the DB I use VARCHAR2 fields. I have configured the following TOraSession properties (I have tried turning each of them on and off):
Session.Options.UnicodeEnvironment := True;
Session.Options.UseUnicode := True;
Session.Options.Direct:= True;
In older versions of ODAC and Delphi, the code has worked, but I'm not sure since which version it stopped working. Are there any new properties I need to set? I tried to set a Charset as well, but it doen't work.