Last post Jan 07, 2008 04:29 AM by zainal
Oct 25, 2005 10:08 AM|bhaumik.shah|LINK
I have problem of displaying Arabic Characters on my webpage ..
Problem is Data that is stored in Oracle Database is non-unicode. Now
I am getting Data from Oracle Through OracleDataReader Object
OracleDataReader myReader = OracleHelper.ExecuteReader()
I cannot use GetString() method as it will not return Proper Characters.
so I Tried GetBytes() Methods.
int CNUM = myReader.GetInt32(0);
//want to specify Encoding Here.
Encoding iso = Encoding.GetEncoding("windows-1256");
that is what i m trying
which is giving Specified Cast Invalid when GetBytes is called ...
Plz Help me..
Thanx in advance
How could I get the correct value
Nov 29, 2005 05:18 AM|indukp|LINK
Jan 19, 2006 06:09 AM|steve_awali|LINK
com.Connection = connection;
TextBox1.Text = System.Text.
//but i have a defferent problem which is how to solve this problem using ASP.NET not C#
Jan 24, 2006 02:12 PM|SimonCal|LINK
Jan 07, 2008 04:29 AM|zainal|LINK
I have recently come accross this problem and found this link to be helpful:
Basically our DBA configured the database to store arabic, then we had to configure the client machines (the servers we use for ASP.NET development and the production server) by changing the NLS_LANG key in the registry entry for the oracle home to AMERICAN_AMERICA.AR8MSWIN1256.
Did not need to do any encoding!