Unicode Field or Field Alias names?
Posted: Wed 24 Jun 2009 12:44
I've noticed with the latest build 6.80.0.47 that FieldName seems to return an ansi string (or that an ansi conversion happens somewhere.) I don't remember it doing that in earlier versions (although it's possible that I just didn't notice it.) Should this return a unicode string properly? I'm using OCIUnicode = True btw.
Returns:
'ΑΒΓΔΕΖΗΘ1'
instead of:
αβγδεζηθ1
Thanks for any help!
-Mark
Code: Select all
OraQuery.SQL.Text := 'select ''αβγδεζηθ1'' from dual';
OraQuery.Execute;
for i := 0 to OraQuery.FieldCount - 1 do
Memo1.Lines.Add(OraQuery.Fields[i].FieldName);
'ΑΒΓΔΕΖΗΘ1'
instead of:
αβγδεζηθ1
Thanks for any help!
-Mark