Page 1 of 1

TOraXMLField and Unicode

Posted: Fri 15 May 2009 19:12
by gregoryliss
ODAC 6.70.0.42, Delphi 2009, using a TSmartQuery, the Session.UseUnicode = true. Using the following SQL:

SELECT XMLELEMENT ("测试", dummy) "网页测试" from dual

When retrieving the value using TOraXMLField(dsField).AsString, the result is:

X

where the results should be:
X

Posted: Mon 18 May 2009 09:51
by Plash
ODAC do not support Unicode in XMLTYPE.