Solved

Arabic Text is appearing as ??????

Posted on 2008-06-10
8
908 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

831 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