Arabic Text is appearing as ??????

I am facing problem in running my ASP.net Application with Oracle on IIS6.0.
I have installed the MUI, have checked my application also for Unicode and arabic language support also, but the arabic text is appearing as ??????????
Is there any solution to the problem?
LVL 14
shahzoorAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
shahzoorConnect With a Mentor Author Commented:
the problem was due to nls_lang in oracle
thanks for your help
0
 
Joel CoehoornDirector of Information TechnologyCommented:
You need to change the encoding for the page used by asp.net:
http://msdn.microsoft.com/en-us/library/39d1w2xf.aspx
0
 
rafayaliCommented:
Have you configured localization in your ASP.NET application? For example, what values are set for Page.UiCulture and Culture attributes of the Page?
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
shahzoorAuthor Commented:
All cultures are Arabic Saudi Arabia and utf 8
but still the question marks are there
i followed the link sent by coehoorn also
http://msdn.microsoft.com/en-us/library/39d1w2xf.aspx

but still the problem is the same
0
 
shahzoorAuthor Commented:
page ui culture is also ar-sa
i tried windows-1256 and utf-8
both are not working
0
 
rafayaliCommented:
Try adding the language in Internet Explorer and see if that works.

Goto Tools -> Internet Options -> Languages and the Arabic language from Saudi Arabia. Close the browser and restart the IE and browse to web app again. SEe if that works. Also, once you add a language make sure that ar-sa is at the very top of the list.
0
 
rafayaliCommented:
Another thing to try is to check whether codepage attribute is specified in your asp.net page. If not, it should be specified in the Page Declaration as an attribute and it should be set to utf-8.

Also, to achieve the same effect you can place this in your web.config

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
0
 
shahzoorAuthor Commented:
i have checked the configuration
windows-1256 works with the asp.net application using MS Access on IIS6.0
But it stops working when i try to connect it to oracle database.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.