Solved

Arabic Text is appearing as ??????

Posted on 2008-06-10
8
910 Views
Last Modified: 2013-11-26
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?
0
Comment
Question by:shahzoor
  • 4
  • 3
8 Comments
 
LVL 18

Expert Comment

by:jcoehoorn
ID: 21753198
You need to change the encoding for the page used by asp.net:
http://msdn.microsoft.com/en-us/library/39d1w2xf.aspx
0
 
LVL 6

Expert Comment

by:rafayali
ID: 21754496
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
 
LVL 14

Author Comment

by:shahzoor
ID: 21757114
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 14

Author Comment

by:shahzoor
ID: 21757732
page ui culture is also ar-sa
i tried windows-1256 and utf-8
both are not working
0
 
LVL 6

Expert Comment

by:rafayali
ID: 21760321
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
 
LVL 6

Expert Comment

by:rafayali
ID: 21760373
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
 
LVL 14

Author Comment

by:shahzoor
ID: 21761137
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
 
LVL 14

Accepted Solution

by:
shahzoor earned 0 total points
ID: 21788089
the problem was due to nls_lang in oracle
thanks for your help
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reactjs with .NET 3 70
Problem to Office 1 39
Recover options for a failed domain. 4 46
Shared files and folders migration 2 23
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question