Print Thread
Unicode Again
#6027 02/12/04 01:08 PM
Joined: Nov 2003
Posts: 9
M
Member
OP Offline
Member
M
Joined: Nov 2003
Posts: 9
All my trails to get an unicode string via TOracleQuery.FieldAsString have failed. For example I tried 'StringToWideChar'. But the result is always a string like '

Re: Unicode Again
#6028 02/12/04 07:23 PM
Joined: Dec 2003
Posts: 1
Riga, Latvia
A
Axl Offline
Member
Offline
Member
A
Joined: Dec 2003
Posts: 1
Riga, Latvia
For Unicode Oracle has NVARCHAR2 data type. I tried a simple "insert into..." statement with TOracleQuery.SetVariable, but got "ORA-12704: character set mismatch". It seems that this data type currently is not supported by DOA.
No luck getting Unicode data into Oracle so far...

Re: Unicode Again
#6029 02/12/04 08:28 PM
Joined: Nov 2003
Posts: 9
M
Member
OP Offline
Member
M
Joined: Nov 2003
Posts: 9
No, this error occurs if your database has not bben set up with an unicode character set.

But the problem with DOA is, in my opinion, that all string properties are String and not WideString.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.028s Queries: 14 (0.009s) Memory: 2.5000 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-05-09 03:43:17 UTC
Valid HTML 5 and Valid CSS