.net控件中未显示阿拉伯文本 [英] Arabic Text not displayed in .net Controls

查看:68
本文介绍了.net控件中未显示阿拉伯文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在使用阿拉伯语言时遇到了奇怪的行为,无法弄清楚问题出在哪里.
方案是,我的网站在我对2005的开发系统上运行良好.它可以毫无问题地显示所有阿拉伯语内容.

现在,当我在具有IIS6.0(启用阿拉伯语)的2003服务器上发布它时,就会出现问题.

首先,它没有显示任何种类的阿拉伯语,即来自HTML或代码或DB的阿拉伯语.我浏览了一些论坛,并添加了一些标签和字符集信息,使它适用于Page的HTML设计中给出的文本.
但仍然无法通过Code正常运行.

这是我页面设计的摘录:

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>



这是从IIS生成的相同页面的一个:



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.

推荐答案

ContentPlaceHolder1
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">所有</option> </select></td>
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.


系统上是否已安装阿拉伯文MUI ?您需要用它来获得所需的完整翻译.
Do you have Arabic MUI installed on the system? You would need that in order to have complete translation as desired.


这篇关于.net控件中未显示阿拉伯文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆