characterset display problem with hebrew characters
Posted: Thu 04 Aug 2011 07:40
Using bcb 2010, odac 6.90.0.57.
DB Server= oracle 10g xe (10.2.0.1.0) on windows xp pro UK.
Server db characterset: AL32UTF8 (AMERICAN_AMERICA).
On client computer: oracle 10.2.0.3.0, windows vista Business UK SP1.
registry: HKLM\software\oracle\KeyOraClient10g_home1\NLS_LANG=AMERICAN_AMERICA.AL32UTF8
environment: NLS_LANG=AMERICAN_AMERICA.AL32UTF8
I have a table with data in hebrew (varchar2(50 char)).
Problem:
* using sql developer, select * from table displays correct Hebrew characters (so far so good),
* using odac (db grid or select), I can't get the characters to be displayed correctly,
* I know that the same application on a Hebrew windows (with same oracle version) displays data correctly, the difference is that it is an Hebrew windows, and characterset is AMERICAN_AMERICA.IW8ISO8859P8,
* Hebrew data is also displayed correctly on my computer if retrieved from a web service (not from db via odac),
* charset and clientidentifier are not set in TOraSession's options,
* I don't use the ODAC Direct option,
* the option UseUnicode is false.
Question: which NLS_LANG do I have to use to retrieve data correctly (changing characterset displays another garbage, but not Hebrew on my computer) on a UK windows?
Regards.
DB Server= oracle 10g xe (10.2.0.1.0) on windows xp pro UK.
Server db characterset: AL32UTF8 (AMERICAN_AMERICA).
On client computer: oracle 10.2.0.3.0, windows vista Business UK SP1.
registry: HKLM\software\oracle\KeyOraClient10g_home1\NLS_LANG=AMERICAN_AMERICA.AL32UTF8
environment: NLS_LANG=AMERICAN_AMERICA.AL32UTF8
I have a table with data in hebrew (varchar2(50 char)).
Problem:
* using sql developer, select * from table displays correct Hebrew characters (so far so good),
* using odac (db grid or select), I can't get the characters to be displayed correctly,
* I know that the same application on a Hebrew windows (with same oracle version) displays data correctly, the difference is that it is an Hebrew windows, and characterset is AMERICAN_AMERICA.IW8ISO8859P8,
* Hebrew data is also displayed correctly on my computer if retrieved from a web service (not from db via odac),
* charset and clientidentifier are not set in TOraSession's options,
* I don't use the ODAC Direct option,
* the option UseUnicode is false.
Question: which NLS_LANG do I have to use to retrieve data correctly (changing characterset displays another garbage, but not Hebrew on my computer) on a UK windows?
Regards.