Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm getting strange behavior with Arabic Language, and can't figure out where's the problem.
Scenario is that my Website works fine at my development system where I've got vs 2005. It shows all Arabic content without any problem.

Now problem arises when i publish it on 2003 server with IIS6.0(arabic enabled).

First of all it was not showing any kind of Arabic, i.e. from HTML or code or DB. I went through some forums and by adding some tags and charset info i got it working for the text given in Page's HTML design.
but still not able to get it working from Code.

here is a snippet from my page's design:
<asp:DropDownList  ID="cboStatus" runat="server" Width="211px">
                <asp:ListItem Value ="التأخير " > التأخير </asp:ListItem>
                <asp:ListItem Value ="الإنصراف قبل الموعد" > الإنصراف قبل الموعد </asp:ListItem>
                <asp:ListItem Value="التأخير والانصراف قبل الموعد"> التأخير والانصراف قبل الموعد</asp:ListItem>


and here's one for same generated Page from IIS:
         <select name="ctl00$ContentPlaceHolder1$cboStatus" id="ctl00_ContentPlaceHolder1_cboStatus" style="width:211px;">
	<option value="������� "> ������� </option>
	<option value="�������� ��� ������"> �������� ��� ������ </option>
	<option value="������� ��������� ��� ������"> ������� ��������� ��� ������</option>
	<option value="������"> ������</option>
	<option value="���������"> ���������</option>
	<option selected="selected" value="All"> All </option>
 
</select></td>


please help me out.
Posted
Updated 13-Dec-10 4:30am
Comments
Sandesh M Patil 13-Dec-10 10:30am    
Add code block
Slacker007 13-Dec-10 11:53am    
Second code block looks like Rubik's cube to me.

1 solution

Do you have Arabic MUI installed on the system? You would need that in order to have complete translation as desired.
 
Share this answer
 
Comments
Muhammad Fuad 14-Dec-10 7:55am    
Thanks for the Answer. Arabic Language Support is Already Installed on System.
I've Changed the Page's Encoding Method and Now Arabic is Displaying through my ASP Code,but still its not coming from DB fields.
Sandeep Mewara 14-Dec-10 7:59am    
Is the language handled properly in DB too? I mean are you sure the data is saved in correct format? Might be the data is not and so while retrieving you are facing issues.

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