8 encoding issue

I have an Arabic ASP.NET MVC4 website with UTF-8 encoding.

I have declared the encoding as UTF-8 in html layout header and have tried to set globalization settings in web.config.

but when I publish in windows azure. some of the text appears in Arabic characters while others appears in weird characters.

In localhost all the text is Arabic.

To give a live example take a look at the front page: http://alqalam.azurewebsites.net and look at the top left text. You can also look at http://alqalam.azurewebsites.net/Account/Login

both links show how some characters are displayed in Arabic and others aren't.

Thank you.


你可以尝试添加吗?

<meta http-equiv="Content-Type" content="text/html charset=UTF-8" />
链接地址: http://www.djcxy.com/p/60718.html

上一篇: 在索引编号列上使用'like'的Oracle查询性能较差

下一篇: 8编码问题