Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi every one
i have an oracle database and when i put some of the Arabic words in some of the tables it's appear unreadable like this ' ¿¿¿¿ ¿¿¿¿ ¿¿¿' , BTW I'm already using UTF8 capable front end .. so any advise will be helpful .

Best regards
Ahmed
Posted
Comments
Amir Mahfoozi 25-Nov-11 4:17am    
Have you used NVarchar2 data type ? I think just your field data type is important.

You possibly will have to set the NLS_LANG value for the client session.
 
Share this answer
 
As have already been mentioned you need to use nvarchar2 or nclob as datatype in the tables.
If you enter the data into the database directly in the DML you will need to prefix your strings with an N. But to do it in DML is not recommended as you open up yourself to "sql injection".
Instead you should use parameters where you can set the OracleDBType accordingly.
 
Share this answer
 
these are the steps for the answer , i do it yesterday and it's finally works :D :-

1-Open registry editor, then find Nls_Lang and change its value to AMERICAN_AMERICA.AR8MSWIN1256 (you will find this more than once so change them all) ,
Change the value of HKey_Local_Machine\System\CurrentControlSet\Control\NLS\CodePage\ ACP to 1256
Find (Presentation LCID) in the registry and change it dec=1033 or hex=409 (you may find this more than once so change them all)
2- Change the regional setting, Regional Option (Location to ****), (Language to English United States), Add Arabic Keyboard (****).

Best regards
Ahmed K Dema
Iraq
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900