Unicode - wrong string length

NDzubiel

Member²
Hello,

if I access a unicode database DOA will return a wrong
string length. E.g. if the Field is defined with 40 characters I will get a length of 160. (These are the bytes used within Oracle - not the Delphi string length).

Any plans to correct this ?`

Nils
 
Well, this helps -
just a small problem -
how to set this flag in all Queries within
my software .... 4200 changes in 577 files ?!
Is there any global option ?

Nils
 
There is no global option, but you could:
  • Derive your own TOracleDataSet and change the default
  • If you have the source code: change the default in OracleData.pas
  • Iterate the components at run-time in OnCreate event handlers
  • Run a macro on the .dfm files
 
Back
Top