Problem with UseUnicode and german umlauts, NET-mode only
Posted: Thu 10 Jul 2014 13:43
Hi
using ODAC 9.2.6 on Delphi 2010, I have a problem using special characters in SQL-Queries.
Example:
there is a db-field containig "Logopädie" (with the german 'ä').
The following query returns an empty rowset in NET-Mode (which is wrong):
In OCI-Mode the same query returns values (which is correct).
The following query returns values in NET-Mode too:
The problem occurs only in NET-Mode and only if UseUnicode = true.
The charset on the Oracle 11 DB is:
Can you help me?
Thanks a lot & best regards
Daniel
using ODAC 9.2.6 on Delphi 2010, I have a problem using special characters in SQL-Queries.
Example:
there is a db-field containig "Logopädie" (with the german 'ä').
The following query returns an empty rowset in NET-Mode (which is wrong):
Code: Select all
select dok_titel from dokument where dok_titel like '%Logopädie%'
The following query returns values in NET-Mode too:
Code: Select all
select dok_titel from dokument where dok_titel like '%Logop'||chr(228)||'die%'
The charset on the Oracle 11 DB is:
Code: Select all
SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET' ;
-> WE8MSWIN1252
Thanks a lot & best regards
Daniel