无法正确显示其他语言字符 [英] Unable to display other language characters correctly

查看:85
本文介绍了无法正确显示其他语言字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我无法在使用Visual Studio 2010在IIS7中部署的Web应用程序中显示Ö,Å,é等字符。显示作为 。



部署在不同Web服务器上的相同代码可正确显示。我在2个Web服务器中找到的唯一区别是,错误显示它的Web服务器上安装了.net Framework 4以及4.5,而另一个Web服务器中只安装了.net Framework 4。



是否需要在Web服务器中安装一些语言包或任何其他软件来纠正此问题。我使用的网络服务器是Windows 2008 R2。



有人可以帮我解决这个问题,因为我无法找到造成这种差异的原因。 />


当我比较两个Web服务器中部署的应用程序时,我发现了另外一个区别。当我查看源代码时,从数据库中提取的值显示偏差。

从数据库中读取为。。



如果是数据库问题或网络服务器设置问题,我无法得到。



提前致谢!

Hi All,

I am not able to display characters like Ö, Å , é in my web application deployed in IIS7 using Visual studio 2010. It is displayed as �.

The same code when deployed in a different web server displays correctly. The only difference I found in the 2 web servers is that the web server which displays it incorrectly has .net Framework 4 as well as 4.5 installed in it, while the other web server has only .net Framework 4 installed in it.

Is there some language pack or any other software that needs to be installed in the Web server to rectify this. The web server I'm using is Windows 2008 R2.

Can someone please help me with this as I am not able to find the reason for this difference.

I find one more difference when i compared the applications deployed in the two web servers. When I viewed the source code, the values are extracted from the database are showing deviation.
Its reading as � from the database.

I am not able to get if it is a DB issue or a web server settings issue.

Thanks in advance!

推荐答案

看看这个:

set-the-语言的颜色 [ ^ ]

IIS中的语言 [ ^ ]
Check this out:
set-the-language-of-iis[^]
Languages in IIS[^]


这篇关于无法正确显示其他语言字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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